Paul Eggert wrote: > Jim Meyering <j...@meyering.net> writes: > >> So how about a function like summable (uintmax_t val) to be used >> in place of each of those 5 tests? > > Sure thing, though I count 11 tests total, not just the 5 in the > previous patch. I prefer a name like 'known_value' to 'summable', as > it's a bit more specific. Here's that same patch, followed by a further > patch to add known_value, generated by git-format-patch. > > ======= > >>From abc8e21a0b5a55bed938b30adf217a26c1a17bac Mon Sep 17 00:00:00 2001 > From: Paul Eggert <egg...@cs.ucla.edu> > Date: Wed, 25 Mar 2009 14:16:46 -0700 > Subject: [PATCH] df: Fix bug when totaling unknown values.
Thanks! I've just pushed them: $ g fp --stdout -2 | grep Subj Subject: [PATCH 1/2] df: fix a bug when totaling unknown values Subject: [PATCH 2/2] df: port the known-value fix to AIX as well _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils