DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ctype bug


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Jul 2005 01:24:00 -0700 (PDT)

:
:Matt,
:
:-On [20050706 20:54], Matthew Dillon (dillon@xxxxxxxxxxxxxxxxxxxx) wrote:
:>    Whoops, we have a problem with the ctype code... it is not properly
:>    folding negative integers (i.e. when a signed char is passed to 
:>    an is*() function).
:
:>    The is*() functions are returning non-zero for all negative numbers,
:>    which is wrong.
:
:You seem to be reluctant to accept the standards' wording on this.
:
:C90:
:
:7.3 Character handling <ctype.h> (identical for C99, 7.4)

    You are reading old postings.  Try reading the more recent postings.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]