From 6f723d90bfed963da5211a2e9e465842fc1f1acf Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 4 Aug 2006 20:54:44 +0000 Subject: [PATCH] revert previous patch, it's wrong --- TSRM/tsrm_virtual_cwd.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- 2.50.1