Subject: Re: lib/1764: __ivaliduser() contains call to abort()
To: John Kohl <jtk@kolvir.arlington.ma.us>
From: Steven J. Dovich <dovich@denali.sequoia.com>
List: netbsd-bugs
Date: 11/16/1995 14:29:17
> I don't have a C standard handy, but it's been suggested to me in
> private mail that a compiler could choose to use -1 as the value of an
> equality boolean value.
I just check the standard and the expressions are specified to evaluate
to 1 if true and 0 if false. I believe that the the change under discussion
would defend against alternative interpretation by a non-ANSI compiler.
/sjd