ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro)
> fix silly bug with ape/stdlib.h which caused ape/lib/regexp/regcomp.c > to miscompile regular expressions with runes > 0xffff.
This commit is contained in:
parent
695f0e0694
commit
cde69a7822
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define EXIT_FAILURE 1
|
||||
#define EXIT_SUCCESS 0
|
||||
#define MB_CUR_MAX 3
|
||||
#define MB_CUR_MAX 4
|
||||
#define RAND_MAX 32767
|
||||
|
||||
typedef struct { int quot, rem; } div_t;
|
||||
|
|
Loading…
Reference in a new issue