On 2005-11-01 15:15:43 -0800, Paul Eggert wrote:
> > Also, the following code (considering a boolean as an integer value)
> > is at least dirty if not buggy:
>
> It's not a bug. This sounds like a mere style issue. C has
> well-defined behavior here, and that code operates correctly as far as
> I can see.
Yes, I wasn't sure. But it makes things a bit weird with gdb, which
displays 'true' and 'false' instead of '1' and '0'.
--
Vincent Lefèvre <address@hidden> - 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