cvs: TSRM(PHP_5_1) / tsrm_virtual_cwd.c php-src NEWS

From: Date: Mon, 16 Jan 2006 09:12:22 +0000
Subject: cvs: TSRM(PHP_5_1) / tsrm_virtual_cwd.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4521@lists.php.net to get a copy of this message
dmitry Mon Jan 16 09:12:22 2006 UTC Modified files: (Branch: PHP_5_1) /php-src NEWS /TSRM tsrm_virtual_cwd.c Log: Fixed bug #36016 (realpath cache memleaks) http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.356&r2=1.2027.2.357&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.356 php-src/NEWS:1.2027.2.357 --- php-src/NEWS:1.2027.2.356 Sun Jan 15 16:51:18 2006 +++ php-src/NEWS Mon Jan 16 09:12:22 2006 @@ -5,6 +5,7 @@ - Added "consumed" stream filter. (Marcus) - Added new mysqli constants for BIT and NEW_DECIMAL field types: MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg) +- Fixed bug #36016 (realpath cache memleaks). (Dmitry, Nuno) - Fixed bug #36011 (Strict errormsg wrong for call_user_func() and the likes). (Marcus) - Fixed bug #35998 (SplFileInfo::getPathname() returns unix style filenames http://cvs.php.net/viewcvs.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.5&r2=1.74.2.6&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.5 TSRM/tsrm_virtual_cwd.c:1.74.2.6 --- TSRM/tsrm_virtual_cwd.c:1.74.2.5 Mon Jan 16 09:09:37 2006 +++ TSRM/tsrm_virtual_cwd.c Mon Jan 16 09:12:22 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.74.2.5 2006/01/16 09:09:37 dmitry Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.74.2.6 2006/01/16 09:12:22 dmitry Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -338,8 +338,7 @@ } } -//static inline -realpath_cache_bucket* realpath_cache_find(const char *path, int path_len, time_t t TSRMLS_DC) +static inline realpath_cache_bucket* realpath_cache_find(const char *path, int path_len, time_t t TSRMLS_DC) { unsigned long key = realpath_cache_key(path, path_len); unsigned long n = key % (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0]));

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