mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* locale/programs/ld-ctype.c (allocate_arrays): Complete last patch. Use wch instead of idx to compute index. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
This commit is contained in:
parent
70e22d49c5
commit
b1c9ad82a0
@ -1,5 +1,9 @@
|
||||
1999-11-26 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* locale/programs/ld-ctype.c (allocate_arrays): Complete last
|
||||
patch. Use wch instead of idx to compute index.
|
||||
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
|
||||
|
||||
* inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
|
||||
|
||||
* locale/iso-3166.def: Update from latest official list.
|
||||
|
@ -3108,10 +3108,10 @@ Computing table size for character classes might take a while..."),
|
||||
if (wch != ILLEGAL_CHAR_VALUE)
|
||||
{
|
||||
/* Store the value. */
|
||||
size_t nr = idx % ctype->plane_size;
|
||||
size_t nr = wch % ctype->plane_size;
|
||||
size_t depth = 0;
|
||||
|
||||
while (ctype->names[nr + depth * ctype->plane_size] != nr)
|
||||
while (ctype->names[nr + depth * ctype->plane_size] != wch)
|
||||
++depth;
|
||||
assert (depth < ctype->plane_cnt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user