cvs: php-src /ext/standard datetime.c

From: Date: Mon, 05 Nov 2007 13:09:31 +0000
Subject: cvs: php-src /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46957@lists.php.net to get a copy of this message
jani Mon Nov 5 13:09:31 2007 UTC Modified files: /php-src/ext/standard datetime.c Log: - ws http://cvs.php.net/viewvc.cgi/php-src/ext/standard/datetime.c?r1=1.146&r2=1.147&diff_format=u Index: php-src/ext/standard/datetime.c diff -u php-src/ext/standard/datetime.c:1.146 php-src/ext/standard/datetime.c:1.147 --- php-src/ext/standard/datetime.c:1.146 Tue Jun 26 21:37:14 2007 +++ php-src/ext/standard/datetime.c Mon Nov 5 13:09:31 2007 @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: datetime.c,v 1.146 2007/06/26 21:37:14 tony2001 Exp $ */ +/* $Id: datetime.c,v 1.147 2007/11/05 13:09:31 jani Exp $ */ #include "php.h" #include "zend_operators.h" @@ -79,7 +79,7 @@ ((tm1->tm_year) % 100), tm1->tm_hour, tm1->tm_min, tm1->tm_sec); } - + str[79] = 0; return (str); } @@ -102,8 +102,7 @@ char *unparsed_part; zend_uchar type; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "TT", - &ts, &ts_length, &type, &format, &format_length, &type) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "TT", &ts, &ts_length, &type, &format, &format_length, &type) == FAILURE) { return; }

« previous php.cvs (#46957) next »