From 5358d026c74d1227271c190f0070fc90ef789829 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Dec 1999 07:29:11 +0000 Subject: 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. --- string/strxfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string/strxfrm.c') diff --git a/string/strxfrm.c b/string/strxfrm.c index 344e65b..67d15d5 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; } -- cgit v1.1