[tlbuild] 2010 builds

Peter Breitenlohner peb at mppmu.mpg.de
Thu Jun 10 14:36:46 CEST 2010


On Thu, 10 Jun 2010, Jukka Salmi wrote:

>>   char *Ptr;
>>   int Char;
>>   ....
>>   Char = *Ptr;
>>   ....
>>   if (isspace(Char)) {...}
>
> Hmm, what's wrong with `isspace((unsigned char)Char)' here?

Probably nothing, provided you don't want to distinguish between the
character '\377' and EOF.  But for that you presumably would have to use
unsigned char.

The whole signed/unsigned char business is quite a nightmare, inherited
from 7-Bit ASCII times.

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list