Subject: Re: lib/19638: isalpha (3) bug
To: Mike Cheponis <mac@Wireless.Com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 01/03/2003 19:38:25
>> > > > Feeding a routine in libc a perfectly valid int should NOT
>> > > > cause the libc routine to segfault. That is Bad.
>> This is totally bogus argument. Please, show me an *invalid* int.
feeding 135471234 to isalpha() and expecting a sensible result is like
feeding 135471234 to asin() and expecting a sensible result or like
calling fprintf() with NULL for the fp. all those inputs are outside
the proscribed domains of the functions. how a program handles that
is not defined by any standard. it is up to the program to make sure
that it does not exceed the domain of a function, not the system.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."