[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tail -c fails (coreutils 5.92)
From: |
Vincent Lefevre |
Subject: |
Re: tail -c fails (coreutils 5.92) |
Date: |
Wed, 2 Nov 2005 01:44:51 +0100 |
User-agent: |
Mutt/1.5.11-vl-20051031 |
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