Paul Eggert wrote:
This fixes a bug reported by "make check" on a Solaris 10 host with
some funky file systems.

It was AIX ;-).

* src/df.c (show_dev): Don't add UINTMAX_MAX to grand totals, as that
value indicates that the true value is unknown; adding it effectively
subtracts 1 from the total, whereas we want to leave the total alone.

I thought the check needs to be against (unsigned)-2?

--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
"Yoda of Borg am I. Futile is resistance. Assimilate you, I will."
  -- from http://en.wikipedia.org/wiki/Wikipedia:Yet_more_Best_of_BJAODN



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to