2002-09-25 Paul Eggert <eggert@twinsun.com>
authorJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:22:51 +0000 (13:22 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:22:51 +0000 (13:22 +0000)
commit427baafba11fd333c1e7ab321789fd55a92cafb3
tree74eef558d6ecb8bc3598a4ebb38540e23bc54bd8
parent0d312a13f1e9006d4f7675bb404c50eb32a9eaae
2002-09-25  Paul Eggert  <eggert@twinsun.com>

[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro.
(PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than
int.  Work more efficiently if X is the same width as uintmax_t.
Do not compare X to -1, to avoid bogus compiler warning.
(get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast.
Don't assume that f_frsize and f_bsize are the same type.
lib/fsusage.c