From: Dmitry Stogov Date: Mon, 19 May 2008 10:49:13 +0000 (+0000) Subject: Fixed win32 related realpath cache bug X-Git-Tag: php-5.2.7RC1~259 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a80638037664da91e373415a338c110c5915163b;p=php Fixed win32 related realpath cache bug --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 8699518127..79aa445f57 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -742,7 +742,7 @@ no_realpath: /* Store existent file in realpath cache. */ #ifdef TSRM_WIN32 - if (use_cache && !is_unc) { + if (use_cache && !is_unc && (use_realpath == CWD_REALPATH)) { #else if (use_cache && (use_realpath == CWD_REALPATH)) { #endif