summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-05 20:45:49 +0000
committerAndi Gutmans <andi@php.net>2000-04-05 20:45:49 +0000
commite3bbb4bc6cc7ec110018450be7de67bc4730898b (patch)
tree58f6c4ca114320b487fa6c89127c9694769ef058
parentfddd1201b42d333873e26880ada689bdfd930735 (diff)
downloadphp-git-e3bbb4bc6cc7ec110018450be7de67bc4730898b.tar.gz
- Fix
-rw-r--r--main/php_virtual_cwd.c5
-rw-r--r--php4dllts.dsp8
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