From e3bbb4bc6cc7ec110018450be7de67bc4730898b Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Wed, 5 Apr 2000 20:45:49 +0000 Subject: [PATCH] - Fix --- main/php_virtual_cwd.c | 5 +---- php4dllts.dsp | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) 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 -- 2.50.1