derick          Sun Jan 13 18:42:19 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/date   php_date.c 
  Log:
  - Fixed TSRM builds.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.43.2.45.2.51.2.7&r2=1.43.2.45.2.51.2.8&diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.43.2.45.2.51.2.7 
php-src/ext/date/php_date.c:1.43.2.45.2.51.2.8
--- php-src/ext/date/php_date.c:1.43.2.45.2.51.2.7      Sun Jan 13 15:15:48 2008
+++ php-src/ext/date/php_date.c Sun Jan 13 18:42:19 2008
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_date.c,v 1.43.2.45.2.51.2.7 2008/01/13 15:15:48 derick Exp $ */
+/* $Id: php_date.c,v 1.43.2.45.2.51.2.8 2008/01/13 18:42:19 derick Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -1646,7 +1646,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));
@@ -1675,7 +1675,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

Reply via email to