summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-07-03 14:48:01 +0000
committerDmitry Stogov <dmitry@php.net>2007-07-03 14:48:01 +0000
commite99013d039b5f1d012237a1f8bea5c5cd9622bf4 (patch)
treeb677582816baa6ad20d2b7a89f17082a0f832ee3 /TSRM
parent9beffb19715fda22dfadb8be09af459162203eb0 (diff)
downloadphp-git-e99013d039b5f1d012237a1f8bea5c5cd9622bf4.tar.gz
Store existent file in realpath cache
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 03ae8a0078..716fe77e8f 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -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);