sebastian Sun Jun 19 01:28:39 2005 EDT
Modified files:
/php-src/ext/date php_date.c
Log:
ZTS fix.
http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.11&r2=1.12&ty=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.11 php-src/ext/date/php_date.c:1.12
--- php-src/ext/date/php_date.c:1.11 Sat Jun 18 16:23:18 2005
+++ php-src/ext/date/php_date.c Sun Jun 19 01:28:39 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_date.c,v 1.11 2005/06/18 20:23:18 derick Exp $ */
+/* $Id: php_date.c,v 1.12 2005/06/19 05:28:39 sebastian Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -85,7 +85,7 @@
php_info_print_table_end();
}
-static char* guess_timezone(void)
+static char* guess_timezone(TSRMLS_D)
{
char *env;
@@ -114,7 +114,7 @@
timelib_time *t, *now;
timelib_tzinfo *tzi;
- tzi = timelib_parse_tzfile(guess_timezone());
+ tzi = timelib_parse_tzfile(guess_timezone(TSRMLS_C));
if (! tzi) {
tzi = timelib_parse_tzfile("GMT");
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php