derick Thu, 18 Nov 2010 11:24:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305492
Log:
- Revert the ABI changing commit.
Changed paths:
U php/php-src/branches/PHP_5_3/ext/date/php_date.c
U php/php-src/branches/PHP_5_3/ext/date/php_date.h
Modified: php/php-src/branches/PHP_5_3/ext/date/php_date.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/php_date.c 2010-11-18 10:47:45 UTC
(rev 305491)
+++ php/php-src/branches/PHP_5_3/ext/date/php_date.c 2010-11-18 11:24:59 UTC
(rev 305492)
@@ -1203,13 +1203,14 @@
/* {{{ php_idate
*/
-PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC)
+PHPAPI int php_idate(char format, time_t ts, int localtime)
{
timelib_time *t;
timelib_tzinfo *tzi;
int retval = -1;
timelib_time_offset *offset = NULL;
timelib_sll isoweek, isoyear;
+ TSRMLS_FETCH()
t = timelib_time_ctor();
Modified: php/php-src/branches/PHP_5_3/ext/date/php_date.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/php_date.h 2010-11-18 10:47:45 UTC
(rev 305491)
+++ php/php-src/branches/PHP_5_3/ext/date/php_date.h 2010-11-18 11:24:59 UTC
(rev 305492)
@@ -163,7 +163,7 @@
/* Backwards compability wrapper */
PHPAPI signed long php_parse_date(char *string, signed long *now);
PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt);
-PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);
+PHPAPI int php_idate(char format, time_t ts, int localtime);
#if HAVE_STRFTIME
#define _php_strftime php_strftime
PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php