*** empty log message ***
authorJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:23:02 +0000 (13:23 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:23:02 +0000 (13:23 +0000)
lib/ChangeLog

index 05781b652d300cf7245b0ee68a44bf49ed549aa8..43f89c975f16b2c106e6e711fd941752191159fc 100644 (file)
@@ -2,6 +2,15 @@
 
        Merge in changes from the coreutils.
 
+       2002-09-25  Paul Eggert  <eggert@twinsun.com>
+       * fsusage.c [! 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.
+
        * mountlist.c: #undef MNT_IGNORE before defining it, to avoid warning
        on FreeBSD.