From 63a30ff1f00d95285242c464fb2de17fcdba6bfc Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sun, 19 Jun 2005 05:28:39 +0000 Subject: [PATCH] ZTS fix. --- ext/date/php_date.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 487c0705000..40a0c96d61c 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -85,7 +85,7 @@ PHP_MINFO_FUNCTION(date) php_info_print_table_end(); } -static char* guess_timezone(void) +static char* guess_timezone(TSRMLS_D) { char *env; @@ -114,7 +114,7 @@ PHP_FUNCTION(strtotime) 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"); }