This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH/RFA] Fix ctype table and isblank
On Apr 8 16:32, Jeff Johnston wrote:
> Corinna Vinschen wrote:
>> First cut. It doesn't change any of the extended tables, but the general
>> idea is already implemented. I'll change the tables in a second step.
>>
>> Ok to checkin?
>>
>>
>> Corinna
>>
>>
>> * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
>> * libc/ctype/isblank.c (isblank): Special case TAB.
>> * libc/ctype/islower.c (islower): Check explicitely for _L flag only
>> in (_U|_L).
>> * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
>> * libc/include/ctype.h (islower): Same in macro.
>> (isupper): Ditto.
>> (isblank): Special case TAB. Redefine macro for GCC only.
> Looks good. Thanks.
>
> -- Jeff J.
Thanks, applied with the matching changes to the CP and ISO character
class tables.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat