[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proposal: _ctype_ table bitwidth change
On Wed, Mar 23, 2011 at 07:09:26PM +0000, David Laight wrote:
> As an aside, a lot of code use the isxxx() and then make the assumption
> that they have checked the 'standard' character set, not some random
> dataset than depends on the locale (or any other system/program state).
> For instance programs will check isdigit() and then subtract '0'.
That's actually valid according to the standard, I think. Not nice, but
valid. Note that the isxxx_l functions actually provide a way to access
the C locale.
Main Index |
Thread Index |