Date: Thu, 10 May 2012 12:02:47 +0200 From: Erik Cederstrand <erik@cederstrand.dk> To: Kohji Okuno <okuno.kohji@jp.panasonic.com>, David Chisnall <theraven@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: The current libc/locale/toupper.c is mistaken Message-ID: <661DDC86-F3AA-426E-9202-77616EBD9415@cederstrand.dk> In-Reply-To: <45C3D5D9-8287-4E94-9726-873008499B03@cederstrand.dk> References: <20120510.180247.93202495593231609.okuno.kohji@jp.panasonic.com> <45C3D5D9-8287-4E94-9726-873008499B03@cederstrand.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Den 10/05/2012 kl. 11.54 skrev Erik Cederstrand:
> Den 10/05/2012 kl. 11.02 skrev Kohji Okuno:
>
>> 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;
>
> Which version of toupper.c is this? My release/9.0.0/lib/libc/locale/toupper.c already has "__mapupper_ext".
Sorry for the braino, didn't notice this was sent to current@
It was indeed correct until r227753. Cc'ing David Chrisnall.
Thanks,
Erik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?661DDC86-F3AA-426E-9202-77616EBD9415>
