From: Derick Rethans Date: Tue, 29 Jan 2008 20:15:44 +0000 (+0000) Subject: - MF53: That should have been ||. X-Git-Tag: RELEASE_2_0_0a1~709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d6ae90d03cdd6340717d472d354a822cb363c5c;p=php - MF53: That should have been ||. --- diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index 77499a2d64..751d6794e0 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.12.1 on Tue Jan 29 21:07:53 2008 */ +/* Generated by re2c 0.12.1 on Tue Jan 29 21:14:49 2008 */ #line 1 "ext/date/lib/parse_date.re" /* +----------------------------------------------------------------------+ @@ -757,7 +757,7 @@ static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_ while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') { ++*ptr; } - if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' | (*ptr)[3] == '-')) { + if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) { *ptr += 3; } if (**ptr == '+') { diff --git a/ext/date/lib/parse_date.re b/ext/date/lib/parse_date.re index dfd78da569..faff1bbd17 100644 --- a/ext/date/lib/parse_date.re +++ b/ext/date/lib/parse_date.re @@ -755,7 +755,7 @@ static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_ while (**ptr == ' ' || **ptr == '\t' || **ptr == '(') { ++*ptr; } - if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' | (*ptr)[3] == '-')) { + if ((*ptr)[0] == 'G' && (*ptr)[1] == 'M' && (*ptr)[2] == 'T' && ((*ptr)[3] == '+' || (*ptr)[3] == '-')) { *ptr += 3; } if (**ptr == '+') {