Date: Thu, 11 Feb 1999 16:20:33 -0500 Message-Id: <199902112120.QAA20563@envy.delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: <199902112029.PAA12141@delorie.com> (message from Robert Hoehne on Thu, 11 Feb 1999 21:29:47 +0100) Subject: Re: ctype functions References: <199902112029 DOT PAA12141 AT delorie DOT com> Reply-To: djgpp-workers AT delorie DOT com > My question is now: Are the ctype functions buggy or > my calls to them? Your calls to them. The ANSI spec very clearly states that the programmer must pass integer (not char!) values in the range 0..255 or the constant EOF to these functions. Passing other values is illegal and the results are undefined.