cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c

From: Date: Mon, 19 May 2008 10:48:57 +0000
Subject: cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6733@lists.php.net to get a copy of this message
dmitry Mon May 19 10:48:57 2008 UTC Modified files: (Branch: PHP_5_3) /TSRM tsrm_virtual_cwd.c Log: Fixed win32 related realpath cache bug http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.35.2.5&r2=1.74.2.9.2.35.2.6&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.5 TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.6 --- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.5 Thu Apr 24 07:45:01 2008 +++ TSRM/tsrm_virtual_cwd.c Mon May 19 10:48:57 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.35.2.5 2008/04/24 07:45:01 dmitry Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.35.2.6 2008/05/19 10:48:57 dmitry Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -743,7 +743,7 @@ /* 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

« previous php.zend-engine.cvs (#6733) next »