The current libc/locale/toupper.c is mistaken

Kohji Okuno okuno.kohji at jp.panasonic.com
Thu May 10 09:21:02 UTC 2012


Hi,

I think that libc/locale/toupper.c is mistaken.
Could you check it?

@@ -51,7 +51,7 @@ ___toupper_l(c, l)
 {
        size_t lim;
        FIX_LOCALE(l);
-       _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__maplower_ext;
+       _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__mapupper_ext;
        _RuneEntry *base, *re;
 
        if (c < 0 || c == EOF)

Best regards,
 Kohji Okuno


More information about the freebsd-current mailing list