From: Stefan Esser Date: Thu, 2 Dec 2004 00:44:33 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.10RC2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa65def3605d557214e390d9c3154e8058c98d60;p=php MFH --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index a0b622c03e..2013533a2f 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -314,7 +314,8 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func path = resolved_path; path_length = strlen(path); } else { - return 1; + /* disable for now + return 1; */ } } } else { /* Concat current directory with relative path and then run realpath() on it */ @@ -340,8 +341,9 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func path = resolved_path; path_length = strlen(path); } else { + /* disable for now free(tmp); - return 1; + return 1; */ } } free(tmp);