From: Anatol Belski Date: Wed, 4 Jan 2017 12:01:23 +0000 (+0100) Subject: revert change in the broken file X-Git-Tag: php-7.2.0alpha1~653 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0439ffa2eaf2c883ca7a3f976b6e17d70c6e19f1;p=php revert change in the broken file --- diff --git a/ext/calendar/calendar.c b/ext/calendar/calendar.c index cae04314d9..b5d21a4dcd 100644 --- a/ext/calendar/calendar.c +++ b/ext/calendar/calendar.c @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2017 The PHP Group | + | Copyright (c) 1997-2016 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -219,7 +219,7 @@ enum { CAL_MONTH_GREGORIAN_SHORT, CAL_MONTH_GREGORIAN_LONG, }; /* for heb_number_to_chars */ -static char alef_bet[25] = "0àáâãäåæçèéëìîðñòôö÷øùú"; +static char alef_bet[25] = "0àáâãäåæçèéëìîðñòôö÷øùú"; #define CAL_JEWISH_ADD_ALAFIM_GERESH 0x2 #define CAL_JEWISH_ADD_ALAFIM 0x4 @@ -511,7 +511,7 @@ PHP_FUNCTION(juliantojd) /* {{{ heb_number_to_chars*/ /* caution: the Hebrew format produces non unique result. -for example both: year '5' and year '5000' produce 'ä'. +for example both: year '5' and year '5000' produce 'ä'. use the numeric one for calculations. */ static char *heb_number_to_chars(int n, int fl, char **ret) @@ -538,7 +538,7 @@ static char *heb_number_to_chars(int n, int fl, char **ret) p++; } if (CAL_JEWISH_ADD_ALAFIM & fl) { - strcpy(p, " àìôéí "); + strcpy(p, " àìôéí "); p += 7; }