|
From: | Kamil Dudka |
Subject: | Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du) |
Date: | Wed, 3 Sep 2008 11:50:10 +0200 |
User-agent: | KMail/1.9.9 |
On Wednesday 03 September 2008 11:18:37 you 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. Good to know. Thanks! I was warned in school to avoid comparing bool values some time ago :-) But I hope two more exclamation marks will not hurt anyone. Kamil
[Prev in Thread] | Current Thread | [Next in Thread] |