From: Dmitry Stogov Date: Fri, 10 Nov 2006 16:59:34 +0000 (+0000) Subject: Revert wrong path X-Git-Tag: RELEASE_1_0_0RC1~1063 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=505f61c7bcecd3318a72dd4c0f97a7c8b82eda72;p=php Revert wrong path --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 15d30d0742..017fc537a7 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -512,7 +512,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func char resolved_path[MAXPATHLEN]; if (!realpath(path, resolved_path)) { /* Note: Not threadsafe on older *BSD's */ - goto no_realpath; + return 1; } CWD_STATE_COPY(&old_state, state);