derick Sun Jan 13 18:42:51 2008 UTC Modified files: /php-src/ext/date php_date.c Log: - Fixed TSRM builds. #- Thanks for the hint Steph. http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.152&r2=1.153&diff_format=u Index: php-src/ext/date/php_date.c diff -u php-src/ext/date/php_date.c:1.152 php-src/ext/date/php_date.c:1.153 --- php-src/ext/date/php_date.c:1.152 Sun Jan 13 15:16:47 2008 +++ php-src/ext/date/php_date.c Sun Jan 13 18:42:51 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_date.c,v 1.152 2008/01/13 15:16:47 derick Exp $ */ +/* $Id: php_date.c,v 1.153 2008/01/13 18:42:51 derick Exp $ */ #include "php.h" #include "php_streams.h" @@ -1776,7 +1776,7 @@ /* Helper function used to store the latest found warnings and errors while * parsing, from either strtotime or parse_from_format. */ -static void update_errors_warnings(timelib_error_container *last_errors) +static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_DC) { if (DATEG(last_errors)) { timelib_error_container_dtor(DATEG(last_errors)); @@ -1805,7 +1805,7 @@ } // update last errors and warnings - update_errors_warnings(err); + update_errors_warnings(err TSRMLS_CC); if (timezone_object) { php_timezone_obj *tzobj;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php