summaryrefslogtreecommitdiff
path: root/locale/C-ctype.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-20 20:04:42 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-20 20:04:42 -0700
commit8a4494506d9175a2c205ff8d39dc58abd83682eb (patch)
treef8a40477eef8ff0f54ceaab5a2f358b3d6f47b9a /locale/C-ctype.c
parentc3db953c165baa444d01ee6c04ef0c51eba42522 (diff)
Check generated locale for non-ASCII 8-bit characters with case conversion.
If a locale does not have 8-bit characters with case conversion which are different from the ASCII conversion (±0x20) then we can perform some optimizations. These will follow later.
Diffstat (limited to 'locale/C-ctype.c')
-rw-r--r--locale/C-ctype.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index 85f3d2addb..2044fb77b6 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2002, 2003, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
@@ -682,6 +682,8 @@ const struct locale_data _nl_C_LC_CTYPE attribute_hidden =
{ .string = (const char *) _nl_C_LC_CTYPE_class_alnum.header },
/* NR_MAPS wctrans_tables */
{ .string = (const char *) _nl_C_LC_CTYPE_map_toupper.header },
- { .string = (const char *) _nl_C_LC_CTYPE_map_tolower.header }
+ { .string = (const char *) _nl_C_LC_CTYPE_map_tolower.header },
+ /* _NL_CTYPE_NONASCII_CASE */
+ { .word = 0 }
}
};