From acda8279a233adec6479da7d1754a2e3829a9cc9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 9 Apr 2002 10:24:31 +0000 Subject: Support ISblank properly --- extra/locale/gen_ctype_from_glibc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extra') diff --git a/extra/locale/gen_ctype_from_glibc.c b/extra/locale/gen_ctype_from_glibc.c index 0488048cd..ef902d978 100644 --- a/extra/locale/gen_ctype_from_glibc.c +++ b/extra/locale/gen_ctype_from_glibc.c @@ -71,6 +71,7 @@ bbits_t basic_bits[] = {ISpunct , "ISpunct" }, {ISalpha , "ISalpha" }, {ISxdigit, "ISxdigit"}, + {ISblank, "ISblank"}, {0, NULL} }; @@ -257,6 +258,8 @@ Defaults:\n\ x2type[i] |= ISpunct; if(isxdigit(i)) x2type[i] |= ISxdigit; + if(isblank(i)) + x2type[i] |= ISblank; x2trans[i] = i; if(toupper(x2trans[i]) != x2trans[i]) x2trans[i] = toupper(x2trans[i]); -- cgit v1.2.3