Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2012 18:02:47 +0900 (JST)
From:      Kohji Okuno <okuno.kohji@jp.panasonic.com>
To:        freebsd-current@freebsd.org
Subject:   The current libc/locale/toupper.c is mistaken
Message-ID:  <20120510.180247.93202495593231609.okuno.kohji@jp.panasonic.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120510.180247.93202495593231609.okuno.kohji>