summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-04-09 15:01:00 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-04-09 15:01:00 +0000
commitbc0bc39645ace0f6b4182c641295e31d58b9eba7 (patch)
tree70ab9ade07e5edc7b30067821db624c6b30fab31 /extra/locale
parentafd68fb2013457640f585433c07950d15400f376 (diff)
Revert Erik's changes... they were broken since there weren't enough
bits for the extra ISblank flag. Instead, hardwire isblank() to not depend on locale for now. At least it will work for space and tab in the immenent release. This will all be blown away for the next release anyway, as I should be committing my new stuff in the next day or two.
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/gen_ctype_from_glibc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/extra/locale/gen_ctype_from_glibc.c b/extra/locale/gen_ctype_from_glibc.c
index ef902d978..0488048cd 100644
--- a/extra/locale/gen_ctype_from_glibc.c
+++ b/extra/locale/gen_ctype_from_glibc.c
@@ -71,7 +71,6 @@ bbits_t basic_bits[] =
{ISpunct , "ISpunct" },
{ISalpha , "ISalpha" },
{ISxdigit, "ISxdigit"},
- {ISblank, "ISblank"},
{0, NULL}
};
@@ -258,8 +257,6 @@ 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]);