cvs: pecl(PHP_5_2) /intl/dateformat dateformat_parse.c
| From: | Stanislav Malyshev | Date: | Tue, 08 Apr 2008 17:16:44 +0000 |
| Subject: | cvs: pecl(PHP_5_2) /intl/dateformat dateformat_parse.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10319@lists.php.net to get a copy of this message | ||
stas Tue Apr 8 17:16:44 2008 UTC
Modified files: (Branch: PHP_5_2)
/pecl/intl/dateformat dateformat_parse.c
Log:
udat_parse takes int as position
http://cvs.php.net/viewvc.cgi/pecl/intl/dateformat/dateformat_parse.c?r1=1.1.2.8&r2=1.1.2.9&diff_format=u
Index: pecl/intl/dateformat/dateformat_parse.c
diff -u pecl/intl/dateformat/dateformat_parse.c:1.1.2.8
pecl/intl/dateformat/dateformat_parse.c:1.1.2.9
--- pecl/intl/dateformat/dateformat_parse.c:1.1.2.8 Thu Apr 3 20:52:54 2008
+++ pecl/intl/dateformat/dateformat_parse.c Tue Apr 8 17:16:43 2008
@@ -33,7 +33,7 @@
* if set to 1 - store any error encountered in the parameter parse_error
* if set to 0 - no need to store any error encountered in the parameter parse_error
*/
-static void internal_parse_to_timestamp(DateFormatter_object *mfo, char* text_to_parse , int32_t
text_len, long parse_pos , zval *return_value TSRMLS_DC){
+static void internal_parse_to_timestamp(DateFormatter_object *mfo, char* text_to_parse , int32_t
text_len, int parse_pos , zval *return_value TSRMLS_DC){
long result = 0;
UDate timestamp =0;
UChar* text_utf16 = NULL;
@@ -78,7 +78,7 @@
/* {{{
* Internal function which calls the udat_parseCalendar
*/
-static void internal_parse_to_localtime(DateFormatter_object *mfo, char* text_to_parse , int32_t
text_len, long parse_pos , zval *return_value TSRMLS_DC){
+static void internal_parse_to_localtime(DateFormatter_object *mfo, char* text_to_parse , int32_t
text_len, int parse_pos , zval *return_value TSRMLS_DC){
UCalendar* parsed_calendar = NULL ;
UChar* text_utf16 = NULL;
int32_t text_utf16_len = 0;