ctype bug

Matthew Dillon dillon at apollo.backplane.com
Thu Jul 7 01:25:10 PDT 2005


:
:Matt,
:
:-On [20050706 20:54], Matthew Dillon (dillon at 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 at xxxxxxxxxxxxx>





More information about the Commits mailing list