Subject: Re: lib/19638: isalpha (3) bug
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Mike Cheponis <mac@Wireless.Com>
List: netbsd-bugs
Date: 01/03/2003 14:51:57
On 3 Jan 2003, Nathan J. Williams wrote:

> > The NetBSD behaviour is wrong.
>
> Wrong according to who besides you? POXIX and SUSv3 agree that using
> values outside of the range of unsigned char + EOF results in
> undefined behavior.
>
> I think you are wrong to believe that the C parameter list is the
> last word in determining what set of values are valid input.
>
>         - Nathan

Well, if all we're going to be compatible with is POSIX, we might as well
be minix, which is also posix-compliant.

Maybe I'm an old fuddy-duddy, but it seems to me that if you pass
to a routine (ESPECIALLY A libc ROUTINE) a perfectly valid argument,
the routine SHOULD NOT SEGFAULT.

If this somehow seems non-sensical, then I must be living in some alternate
non-NetBSD universe!  ;-)

(sorry for shouting, above).

Best -Mike