Re: yucky patch

From: Chris Wedgwood <chris@dont-contact.us>
Date: Thu, 11 Feb 1999 20:24:19 +1300

> My reason for using an int cast is:

> SYNOPSIS
> #include <ctype.h>
> int isalnum(int c)
> int isalpha(int c)
> int isascii(int c)
> int iscntrl(int c)

what does

 isascii(-1234567)

do? On some systems, it will SEGV because they use a table lookup and
don't do range checking....

Not that this answers your question.

-cw
Received on Tue Jul 29 2003 - 13:15:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:04 MST