diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-08 19:53:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-08 19:53:27 +0000 |
commit | 49f2be5b0eea30507a77e9467d0ef2c697953bca (patch) | |
tree | f288b420d8564f4f24214b35c2703fbfc7e29fb8 /locale/lc-ctype.c | |
parent | 85cb60ffd7585e71a3d53451d0b7f0fba4e4122f (diff) | |
download | glibc-49f2be5b0eea30507a77e9467d0ef2c697953bca.zip glibc-49f2be5b0eea30507a77e9467d0ef2c697953bca.tar.gz glibc-49f2be5b0eea30507a77e9467d0ef2c697953bca.tar.bz2 |
Update.
* ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
* ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
* locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
_nl_C_LC_CTYPE_tolower32 tables.
Don't compile it names of 14652 classes and maps.
* locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
_NL_CTYPE_TOLOWER32.
* locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
and __ctype32_tolower.
* locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
(ctype_output): Write out map32 values.
(allocate_arrays): Compute mapping tables correctly.
* wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
(towupper): Use __ctype32_toupper.
* wctype/wctype.h: Optimize towupper and towlower for values < 256.
Diffstat (limited to 'locale/lc-ctype.c')
-rw-r--r-- | locale/lc-ctype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/lc-ctype.c b/locale/lc-ctype.c index e3cb2f6..1a35e24 100644 --- a/locale/lc-ctype.c +++ b/locale/lc-ctype.c @@ -43,11 +43,15 @@ _nl_postload_ctype (void) extern const uint32_t *__ctype32_b; extern const uint32_t *__ctype_names; extern const unsigned char *__ctype_width; + extern const uint32_t *__ctype32_toupper; + extern const uint32_t *__ctype32_tolower; __ctype_b = current (uint16_t, CLASS, 128); __ctype_toupper = current (uint32_t, TOUPPER, 128); __ctype_tolower = current (uint32_t, TOLOWER, 128); __ctype32_b = current (uint32_t, CLASS32, 0); + __ctype32_toupper = current (uint32_t, TOUPPER32, 0); + __ctype32_tolower = current (uint32_t, TOLOWER32, 0); __ctype_names = current (uint32_t, NAMES, 0); __ctype_width = current (unsigned char, WIDTH, 0); } |