ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-cvs
php-cvs
[PHP-CVS] cvs: php-src /ext/date php_date.c
by Sebastian Bergmann other posts by this author
Jun 18 2005 10:28PM messages near this date
[PHP-CVS] cvs: php-src / NEWS /ext/date/tests bug20382-2.phpt | [PHP-CVS] cvs: php-src /tests/reflection 006.phpt
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved