]> granicus.if.org Git - php/commitdiff
Store existent file in realpath cache
authorDmitry Stogov <dmitry@php.net>
Tue, 3 Jul 2007 14:48:37 +0000 (14:48 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 3 Jul 2007 14:48:37 +0000 (14:48 +0000)
TSRM/tsrm_virtual_cwd.c

index b7d5238a1ca7a43dc842d269fd6847f69bc21cd1..512d615cd73b53c15689a3532b76e88546e08fd6 100644 (file)
@@ -547,6 +547,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
                        }
                        goto no_realpath;
                }
+               use_realpath = CWD_REALPATH;
                CWD_STATE_COPY(&old_state, state);
 
                state->cwd_length = strlen(resolved_path);