some unusual errors

DJ Delorie dj@delorie.com
Tue Sep 22 18:03:00 GMT 1998


>   isspace(foo[3]) has been around for a *LONG* time. It shouldn't
>   break.

I agree it would be nice if the program didn't crash in those
conditions, and even better if it worked correctly, but relying on the
runtime to protect the computer from the programmer is a bad way to
start your morning.

> I will fix my code to use unsigned char's, fine, but I suggest that
> gnu-win32 make char unsigned by default then.

IRIX has unsigned chars by default.  You do NOT want that as a
default!  Many programs assume "char" can hold small negative numbers,
and fail in subtle ways on unsigned-char machines.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list