[PATCH/RFA] Distinguish between EOF and character with value 0xff
Wed Apr 22 04:50:00 GMT 2009
It seems to me that supporting -127..-2 for the new tables is misleading at best. I suggest that, if negative chars are to be supported, that whole section of the ctype table should be ALWAYS ZERO regardless of code page. For the default locale, this is no change. However, it will give a gentle clue to users of the new tables that they'd better shape up and conform to the standard.
Second, although I have no issue with the library being kind to sloppy users, the library itself should NEVER rely on being able to pass negative chars to ctype routines.
More information about the Newlib