diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-20 20:50:38 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-20 20:50:38 -0700 |
commit | 63fbc91bec5623ab002c6e3ae1f3cd08a5f010fd (patch) | |
tree | 8cb27600cbafb92dc807fa3ac4fcaeca4b2a9d4f /locale | |
parent | 8a4494506d9175a2c205ff8d39dc58abd83682eb (diff) | |
download | glibc-63fbc91bec5623ab002c6e3ae1f3cd08a5f010fd.zip glibc-63fbc91bec5623ab002c6e3ae1f3cd08a5f010fd.tar.gz glibc-63fbc91bec5623ab002c6e3ae1f3cd08a5f010fd.tar.bz2 |
Use correct index for _NL_CTYPE_NONASCII_CASE.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/C-ctype.c | 8 | ||||
-rw-r--r-- | locale/langinfo.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/locale/C-ctype.c b/locale/C-ctype.c index 2044fb7..420b08a 100644 --- a/locale/C-ctype.c +++ b/locale/C-ctype.c @@ -528,7 +528,7 @@ _nl_C_LC_CTYPE_width attribute_hidden = }; /* Number of fields with fixed meanings, starting at 0. */ -#define NR_FIXED 71 +#define NR_FIXED 72 /* Number of class fields, starting at CLASS_OFFSET. */ #define NR_CLASSES 12 /* Number of map fields, starting at MAP_OFFSET. */ @@ -667,6 +667,8 @@ const struct locale_data _nl_C_LC_CTYPE attribute_hidden = { .wstr = NULL }, /* _NL_CTYPE_MAP_TO_NONASCII */ { .word = 0 }, + /* _NL_CTYPE_NONASCII_CASE */ + { .word = 0 }, /* NR_CLASSES wctype_tables */ { .string = (const char *) _nl_C_LC_CTYPE_class_upper.header }, { .string = (const char *) _nl_C_LC_CTYPE_class_lower.header }, @@ -682,8 +684,6 @@ 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 }, - /* _NL_CTYPE_NONASCII_CASE */ - { .word = 0 } + { .string = (const char *) _nl_C_LC_CTYPE_map_tolower.header } } }; diff --git a/locale/langinfo.h b/locale/langinfo.h index d7ef6f6..c940c74 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -334,6 +334,7 @@ enum _NL_CTYPE_TRANSLIT_IGNORE_LEN, _NL_CTYPE_TRANSLIT_IGNORE, _NL_CTYPE_MAP_TO_NONASCII, + _NL_CTYPE_NONASCII_CASE, _NL_CTYPE_EXTRA_MAP_1, _NL_CTYPE_EXTRA_MAP_2, _NL_CTYPE_EXTRA_MAP_3, @@ -348,7 +349,6 @@ enum _NL_CTYPE_EXTRA_MAP_12, _NL_CTYPE_EXTRA_MAP_13, _NL_CTYPE_EXTRA_MAP_14, - _NL_CTYPE_NONASCII_CASE, _NL_NUM_LC_CTYPE, /* LC_MONETARY category: formatting of monetary quantities. |