|
From: | Matthew Woehlke |
Subject: | Re: [PATCH] df: Fix bug when totaling unknown values. |
Date: | Thu, 26 Mar 2009 14:32:18 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
Paul Eggert wrote:
Matthew Woehlke writes:
Please do not quote my e-mail address unobfuscated in message bodies. :-)
Paul Eggert wrote:+ if (total != UINTMAX_MAX)Um... I've mentioned that this won't work, haven't I? AIX is (AFAICT) giving 0xFFF...FFE, not 0xFFF...FFF.The later patch (in that same message) adjusted that line to deal with (uintmax_t) -2.
Ah, I see, I missed the second part (perhaps because it was disguised as a really long .sig). Sorry :-). And thanks (again).
Maybe some other oddball system in the future will use (uintmax_t) -3? (I was thinking of having df use (uintmax_t) -100, just to make the code more future-proof. :-)
:-D -- Matthew --"We're all mad here. I'm mad. You're mad... You must be, or you wouldn't have come here." -- The Cheshire Cat (from Lewis Carroll's Alice in Wonderland)
[Prev in Thread] | Current Thread | [Next in Thread] |