diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-26 07:29:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-26 07:29:11 +0000 |
commit | 5358d026c74d1227271c190f0070fc90ef789829 (patch) | |
tree | 8bf430b052065cfa6568bc6737e298d03ba2301a /string/strxfrm.c | |
parent | 450bf66ef223ad83e7032920652445817865770b (diff) | |
download | glibc-5358d026c74d1227271c190f0070fc90ef789829.tar.gz glibc-5358d026c74d1227271c190f0070fc90ef789829.tar.xz glibc-5358d026c74d1227271c190f0070fc90ef789829.zip |
Update.
* locale/programs/ld-collate.c (read_directions): Fix a few messages. (collate_finish): Test that position is used in all sections for a level or in none. * string/strxfrm.c: Optimize a bit. We don't need the highest bit of the index returned by findidx. * string/strcoll.c: Complete rewrite for new collate implementation. * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation locally.
Diffstat (limited to 'string/strxfrm.c')
-rw-r--r-- | string/strxfrm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strxfrm.c b/string/strxfrm.c index 344e65b957..67d15d5b4b 100644 --- a/string/strxfrm.c +++ b/string/strxfrm.c @@ -191,7 +191,7 @@ STRXFRM (char *dest, const char *src, size_t n, __locale_t l) { int32_t tmp = findidx (&usrc); rulearr[idxmax] = tmp >> 24; - idxarr[idxmax] = tmp & 0x80ffffff; + idxarr[idxmax] = tmp & 0xffffff; ++idxmax; } |