This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: some unusual errors
- To: dyoung at vviuh221 dot vvi dot com
- Subject: Re: some unusual errors
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Tue, 22 Sep 1998 15:06:42 +1000
- Cc: "J. J. Farrell" <jjf at hal dot com>, Michael Richardson <mcr at solidum dot com>, gnu-win32 at cygnus dot com
- References: <199809210056.RAA27963@aleph.ssd.hal.com> <9809211418.AA12875@vviuh221.vvi.com>
On 21-Sep-1998, David Young <dyoung@vviuh221.vvi.com> wrote:
> > isspace() takes an int whose value must be in the range 0 to
> > ...
> > it should be casting the parameter to int so it will ...
>
> ACK!
>
> Doesn't the ANSI isspace() prototype definition take type char ?
No, I'm afraid not. It takes an int, which should be either
an unsigned char cast to int, or EOF.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".