diff options
author | Andi Gutmans <andi@php.net> | 2000-04-05 20:45:49 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-04-05 20:45:49 +0000 |
commit | e3bbb4bc6cc7ec110018450be7de67bc4730898b (patch) | |
tree | 58f6c4ca114320b487fa6c89127c9694769ef058 /main/php_virtual_cwd.c | |
parent | fddd1201b42d333873e26880ada689bdfd930735 (diff) | |
download | php-git-e3bbb4bc6cc7ec110018450be7de67bc4730898b.tar.gz |
- Fix
Diffstat (limited to 'main/php_virtual_cwd.c')
-rw-r--r-- | main/php_virtual_cwd.c | 5 |
1 files changed, 1 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; |