diff options
Diffstat (limited to 'libc/misc/ctype.c')
-rw-r--r-- | libc/misc/ctype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/ctype.c b/libc/misc/ctype.c index 6b6cd3d..0425f00 100644 --- a/libc/misc/ctype.c +++ b/libc/misc/ctype.c @@ -12,8 +12,9 @@ #undef toupper #undef tolower -unsigned char __ctype[128] = +unsigned char __ctype[257] = { + 0, /* -1 */ __CT_c, __CT_c, __CT_c, __CT_c, /* 0x00..0x03 */ __CT_c, __CT_c, __CT_c, __CT_c, /* 0x04..0x07 */ __CT_c, __CT_c|__CT_s, __CT_c|__CT_s, __CT_c|__CT_s, /* 0x08..0x0B */ |