]> granicus.if.org Git - php/commitdiff
Revert wrong path
authorDmitry Stogov <dmitry@php.net>
Fri, 10 Nov 2006 16:59:34 +0000 (16:59 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 10 Nov 2006 16:59:34 +0000 (16:59 +0000)
TSRM/tsrm_virtual_cwd.c

index 15d30d074293f9075095fb48e9dcb5b1594edf4d..017fc537a746cc62a6cbfbaa7b5952f16810f1fb 100644 (file)
@@ -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);