From: dj AT delorie DOT com (DJ Delorie) Subject: Re: some unusual errors 23 Sep 1998 02:48:19 -0700 Message-ID: <199809222056.QAA20551.cygnus.gnu-win32@indy.delorie.com> References: <199809222030 DOT QAA25521 AT venus DOT solidum DOT com> To: mcr AT solidum DOT com Cc: gnu-win32 AT cygnus DOT com > 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 AT cygnus DOT com" with one line of text: "help".