diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-05-14 23:17:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-05-14 23:17:30 +0000 |
commit | 0f488414e05e73763e739222ff8a89682df93d42 (patch) | |
tree | 4caaaceb27fa546c7ae8f2c75edf2a443765340a /locale | |
parent | ff152e3fc8c7d38e08d9f9d70eb6109c878e1372 (diff) | |
download | glibc-0f488414e05e73763e739222ff8a89682df93d42.tar glibc-0f488414e05e73763e739222ff8a89682df93d42.tar.gz glibc-0f488414e05e73763e739222ff8a89682df93d42.tar.bz2 glibc-0f488414e05e73763e739222ff8a89682df93d42.zip |
Update.
1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-ctype.c: Write correct mb_cur_max value.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-ctype.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index 2f9a9a2caf..01d37e3fc4 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -1447,11 +1447,8 @@ Computing table size for character classes might take a while..."), } } - /* Compute MB_CUR_MAX. Please note the value mb_cur_max in the - character set definition gives the number of bytes in the wide - character representation. We compute the number of bytes used - for the UTF-8 encoded form. */ - ctype->mb_cur_max = ((int []) { 2, 3, 5, 6 }) [charset->mb_cur_max - 1]; + /* Compute MB_CUR_MAX. */ + ctype->mb_cur_max = charset->mb_cur_max; /* We need the name of the currently used 8-bit character set to make correct conversion between this 8-bit representation and the |