iliaa Tue Aug 22 16:47:23 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date php_date.c /php-src NEWS Log: Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown order to ensure it is shutdown before the extensions it may depend on). http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.43.2.45.2.25&r2=1.43.2.45.2.26&diff_format=u Index: php-src/ext/date/php_date.c diff -u php-src/ext/date/php_date.c:1.43.2.45.2.25 php-src/ext/date/php_date.c:1.43.2.45.2.26 --- php-src/ext/date/php_date.c:1.43.2.45.2.25 Tue Aug 15 06:53:21 2006 +++ php-src/ext/date/php_date.c Tue Aug 22 16:47:23 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_date.c,v 1.43.2.45.2.25 2006/08/15 06:53:21 mike Exp $ */ +/* $Id: php_date.c,v 1.43.2.45.2.26 2006/08/22 16:47:23 iliaa Exp $ */ #include "php.h" #include "php_streams.h" @@ -299,9 +299,17 @@ static zend_object_value date_object_clone_date(zval *this_ptr TSRMLS_DC); static zend_object_value date_object_clone_timezone(zval *this_ptr TSRMLS_DC); +/* This is need to ensure that session extension request shutdown occurs 1st, because it uses the date extension */ +static zend_module_dep date_deps[] = { + ZEND_MOD_OPTIONAL("session") + {NULL, NULL, NULL} +}; + /* {{{ Module struct */ zend_module_entry date_module_entry = { - STANDARD_MODULE_HEADER, + STANDARD_MODULE_HEADER_EX, + NULL, + date_deps, "date", /* extension name */ date_functions, /* function list */ PHP_MINIT(date), /* process startup */ http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.214&r2=1.2027.2.547.2.215&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.214 php-src/NEWS:1.2027.2.547.2.215 --- php-src/NEWS:1.2027.2.547.2.214 Tue Aug 22 12:04:53 2006 +++ php-src/NEWS Tue Aug 22 16:47:23 2006 @@ -7,6 +7,9 @@ inside a failed query executed via query() method). (Ilia) - Fixed bug #38524 (strptime() does not initialize the internal date storage structure). (Ilia) +- Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown + order to ensure it is shutdown before the extensions it may depend on). + (Ilia) - Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32). (Dmitry) - Fixed PECL bug #8112 (OCI8 persistent connections misbehave when Apache
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php