diff options
author | Antony Dovgal <tony2001@php.net> | 2006-08-04 20:55:00 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-08-04 20:55:00 +0000 |
commit | 8e4334159ce6077c4526ed0465f79632186cf51c (patch) | |
tree | beb635d51fc765df24f2504b54062f6696d31c2c | |
parent | b20b73cdb1677c0fdf4a8903face6b4c731aca37 (diff) | |
download | php-git-8e4334159ce6077c4526ed0465f79632186cf51c.tar.gz |
revert previous patch
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 3c713a1f79..59a6b81d1d 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -706,9 +706,7 @@ CWD_API FILE *virtual_fopen(const char *path, const char *mode TSRMLS_DC) } CWD_STATE_COPY(&new_state, &CWDG(cwd)); - if (virtual_file_ex(&new_state, path, NULL, 1)) { - return -1; - } + virtual_file_ex(&new_state, path, NULL, 1); f = fopen(new_state.cwd, mode); |