This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Distinguish between EOF and character with value 0xff


Folks,

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.

---
Mike Burgess
Avanex Corporation
607-562-7169


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]