From: Stefan Esser Date: Thu, 2 Dec 2004 00:44:07 +0000 (+0000) Subject: Partly reverted because of problems with some realpath() implementations X-Git-Tag: RELEASE_0_2~592 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b08147d46ae1254d56b2be0e2d4424dad12ebf1a;p=php Partly reverted because of problems with some realpath() implementations --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 9d40dede1b..969628c4b8 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -424,7 +424,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 */ @@ -450,8 +451,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);