cvs: php-src /ext/date php_date.c
| From: | Derick Rethans | Date: | Sun, 13 Jan 2008 18:42:51 +0000 |
| Subject: | cvs: php-src /ext/date php_date.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47814@lists.php.net to get a copy of this message | ||
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;