revert change in the broken file

This commit is contained in:
Anatol Belski 2017-01-04 13:01:23 +01:00
parent 25ee9465d1
commit 0439ffa2ea

View File

@ -2,7 +2,7 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
| PHP Version 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, | | 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 | | 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 */ /* 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_GERESH 0x2
#define CAL_JEWISH_ADD_ALAFIM 0x4 #define CAL_JEWISH_ADD_ALAFIM 0x4
@ -511,7 +511,7 @@ PHP_FUNCTION(juliantojd)
/* {{{ heb_number_to_chars*/ /* {{{ heb_number_to_chars*/
/* /*
caution: the Hebrew format produces non unique result. 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. use the numeric one for calculations.
*/ */
static char *heb_number_to_chars(int n, int fl, char **ret) 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++; p++;
} }
if (CAL_JEWISH_ADD_ALAFIM & fl) { if (CAL_JEWISH_ADD_ALAFIM & fl) {
strcpy(p, " àìôéí "); strcpy(p, " àìôéí ");
p += 7; p += 7;
} }