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: Re: [PATCH/RFA] Distinguish between EOF and character with value 0xff


Eric Blake wrote Tuesday, April 21, 2009 5:32 PM:
...
>Not a library bug.  According to the standards, since a compliant
program is 
>already passing in [-1,255], this results in a value in the range
[0,256] in 
>compliant programs.  For buggy programs, which passed in a signed char
(and 
>thus a range of [-128,127], with -1 duplicated), all bets are already
off.
...
 
You're completely correct--it is not a library error.  I had that in my
email and accidently edited it out.  Thanks for catching the oversight.
 
Craig


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