mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com> * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
This commit is contained in:
parent
ff152e3fc8
commit
0f488414e0
@ -1,3 +1,7 @@
|
||||
1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* locale/programs/ld-ctype.c: Write correct mb_cur_max value.
|
||||
|
||||
1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* inet/netinet/in.h: Add defines for multicast.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user