diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-06-18 09:50:40 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-06-18 09:50:40 +0000 |
commit | 738ff1277a02e7aba4efdcee18eae10ce1f489f7 (patch) | |
tree | 5b30d181d097562fcdb341384e478f2b8ab9ad2b /TSRM | |
parent | 74474a1ef89efcf841868c5e0fba6322dad1646b (diff) | |
download | php-git-738ff1277a02e7aba4efdcee18eae10ce1f489f7.tar.gz |
Fixed yet another realpath cache bug and wrong tests
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 2 |
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); } |