From: Dmitry Stogov Date: Mon, 19 May 2008 10:48:45 +0000 (+0000) Subject: Fixed win32 related realpath cache bug X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1732 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=140669030b20ec08e77ece7ec75c812f7a89bfca;p=php Fixed win32 related realpath cache bug --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 496fb0f6d4..01cadbd4a7 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -743,7 +743,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