[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
authorJim Meyering <jim@meyering.net>
Thu, 26 Sep 2002 08:18:33 +0000 (08:18 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 26 Sep 2002 08:18:33 +0000 (08:18 +0000)
commit4b0eb25d6dbfa53393c7bfaac582672159d997d8
treebcc246f5e5514261677ed7294050eafe3101c6c4
parent9cc87603b91b03285f859c2a9828b4bf7682299f
[! 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