rasmus Fri May 18 11:36:55 2007 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /TSRM tsrm_virtual_cwd.c /php-src/ext/standard php_lcg.h Log: Get rid of a stray time() syscall in tsrm and clean up lcg rinit http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.714&r2=1.2027.2.547.2.715&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.714 php-src/NEWS:1.2027.2.547.2.715 --- php-src/NEWS:1.2027.2.547.2.714 Thu May 17 15:13:51 2007 +++ php-src/NEWS Fri May 18 11:36:54 2007 @@ -1,6 +1,7 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2007, PHP 5.2.3 +- Optimized out a couple of per-request syscalls (Rasmus) - Upgraded SQLite 3 to version 3.3.16 (Ilia) - Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into an associated array. (Ilia) http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.26&r2=1.74.2.9.2.27&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.26 TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.27 --- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.26 Thu Apr 12 15:28:58 2007 +++ TSRM/tsrm_virtual_cwd.c Fri May 18 11:36:55 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.26 2007/04/12 15:28:58 dmitry Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.27 2007/05/18 11:36:55 rasmus Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -31,6 +31,7 @@ #include "tsrm_virtual_cwd.h" #include "tsrm_strtok_r.h" +#include "SAPI.h" #ifdef TSRM_WIN32 #include <io.h> @@ -518,7 +519,7 @@ } if (use_cache) { - t = CWDG(realpath_cache_ttl)?time(NULL):0; + t = CWDG(realpath_cache_ttl)?sapi_get_request_time(TSRMLS_C):0; if ((bucket = realpath_cache_find(path, path_length, t TSRMLS_CC)) != NULL) { int len = bucket->realpath_len; http://cvs.php.net/viewvc.cgi/php-src/ext/standard/php_lcg.h?r1=1.21.2.1.2.1&r2=1.21.2.1.2.2&diff_format=u Index: php-src/ext/standard/php_lcg.h diff -u php-src/ext/standard/php_lcg.h:1.21.2.1.2.1 php-src/ext/standard/php_lcg.h:1.21.2.1.2.2 --- php-src/ext/standard/php_lcg.h:1.21.2.1.2.1 Mon Jan 1 09:36:08 2007 +++ php-src/ext/standard/php_lcg.h Fri May 18 11:36:55 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_lcg.h,v 1.21.2.1.2.1 2007/01/01 09:36:08 sebastian Exp $ */ +/* $Id: php_lcg.h,v 1.21.2.1.2.2 2007/05/18 11:36:55 rasmus Exp $ */ #ifndef PHP_LCG_H #define PHP_LCG_H @@ -33,7 +33,6 @@ PHP_FUNCTION(lcg_value); PHP_MINIT_FUNCTION(lcg); -PHP_RINIT_FUNCTION(lcg); #ifdef ZTS #define LCG(v) TSRMG(lcg_globals_id, php_lcg_globals *, v)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php