]> granicus.if.org Git - php/commitdiff
- Fix
authorAndi Gutmans <andi@php.net>
Wed, 5 Apr 2000 20:45:49 +0000 (20:45 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 5 Apr 2000 20:45:49 +0000 (20:45 +0000)
main/php_virtual_cwd.c
php4dllts.dsp

index 158dcdc5e4fac743e0734623958a074815e9c618..6f0f66f032c90547480f1a5d5e9d223580ad677c 100644 (file)
@@ -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;
index 71083a6af92faacd7417870a7b8e60208d0ce635..1b0016aa1696ce4a705f5dce7dc96ea6299173cf 100644 (file)
@@ -173,6 +173,10 @@ SOURCE=.\php_variables.c
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=.\php_virtual_cwd.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=.\ext\standard\quot_print.c\r
 # End Source File\r
 # Begin Source File\r
@@ -277,6 +281,10 @@ SOURCE=.\php_variables.h
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=.\php_virtual_cwd.h\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=.\ext\standard\quot_print.h\r
 # End Source File\r
 # Begin Source File\r