From: Andi Gutmans Date: Wed, 5 Apr 2000 20:45:49 +0000 (+0000) Subject: - Fix X-Git-Tag: php-4.0RC2~476 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3bbb4bc6cc7ec110018450be7de67bc4730898b;p=php - Fix --- diff --git a/main/php_virtual_cwd.c b/main/php_virtual_cwd.c index 158dcdc5e4..6f0f66f032 100644 --- a/main/php_virtual_cwd.c +++ b/main/php_virtual_cwd.c @@ -345,11 +345,8 @@ CWD_API FILE *virtual_fopen(char *path, const char *mode) CWD_STATE_COPY(&new_state, &CWDG(cwd)); - retval = virtual_file_ex(&new_state, path, php_is_file_ok); + virtual_file_ex(&new_state, path, NULL); - if (retval) { - return NULL; - } f = fopen(new_state.cwd, mode); CWD_STATE_FREE(&new_state); return f; diff --git a/php4dllts.dsp b/php4dllts.dsp index 71083a6af9..1b0016aa16 100644 --- a/php4dllts.dsp +++ b/php4dllts.dsp @@ -173,6 +173,10 @@ SOURCE=.\php_variables.c # End Source File # Begin Source File +SOURCE=.\php_virtual_cwd.c +# End Source File +# Begin Source File + SOURCE=.\ext\standard\quot_print.c # End Source File # Begin Source File @@ -277,6 +281,10 @@ SOURCE=.\php_variables.h # End Source File # Begin Source File +SOURCE=.\php_virtual_cwd.h +# End Source File +# Begin Source File + SOURCE=.\ext\standard\quot_print.h # End Source File # Begin Source File