<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] warning cleared



On 2005-09-20 09:47:43 -0400, Thomas Dickey wrote:
> What you meant to point out is that the ctype macros are not defined
> for negative values other than -1

Yes (assuming EOF == -1), except isascii().

Also, the code should probably be more robust and check if the
user provided a number n that isn't too low or too high, e.g.

  %-17

or

  %123456789

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA