Re: [PATCH] df: new option: --total (-c) to produce grand total (in the
From:
Andreas Schwab
Subject:
Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)
Date:
Wed, 03 Sep 2008 11:53:57 +0200
User-agent:
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)
Jim Meyering <address@hidden> writes:
> Andreas Schwab <address@hidden> wrote:
>> Kamil Dudka <address@hidden> writes:
>>> On Wednesday 03 September 2008 11:03:22 you wrote:
>>>> Kamil Dudka <address@hidden> writes:
>>>> Since both arguments are already bool I see no need for LOG_EQ (it's the
>>>> only use anyway).
>>> If you are using type bool, there is no guarantee there will be bool (0/1)
>>> value inside.
>>
>> RTFS. It _is_ guaranteed. Even if bool != C99 _Bool.
>
> In general, when using gnulib's replacement via stdbool.in.h,
> the following comment from that file is relevant:
It's not relevant here. The source already depends on the current
guarantee for pure bool values.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."