The current libc/locale/toupper.c is mistaken
Erik Cederstrand
erik at cederstrand.dk
Thu May 10 10:02:50 UTC 2012
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
More information about the freebsd-current
mailing list