summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-06-18 09:50:40 +0000
committerDmitry Stogov <dmitry@php.net>2007-06-18 09:50:40 +0000
commit738ff1277a02e7aba4efdcee18eae10ce1f489f7 (patch)
tree5b30d181d097562fcdb341384e478f2b8ab9ad2b /TSRM
parent74474a1ef89efcf841868c5e0fba6322dad1646b (diff)
downloadphp-git-738ff1277a02e7aba4efdcee18eae10ce1f489f7.tar.gz
Fixed yet another realpath cache bug and wrong tests
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index dc9c895adb..03ae8a0078 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -708,7 +708,7 @@ no_realpath:
}
}
- if (use_cache) {
+ if (use_cache && (use_realpath == CWD_REALPATH)) {
realpath_cache_add(path, path_length, state->cwd, state->cwd_length, t TSRMLS_CC);
}