]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Thu, 19 Mar 1998 22:27:17 +0000 (22:27 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 19 Mar 1998 22:27:17 +0000 (22:27 +0000)
old/fileutils/ChangeLog

index 8d6784e83b279b06a55e122b19bb21fc6472b1ab..d1acb4ec8ed0e10185f600830efeade47199aa60 100644 (file)
@@ -1,3 +1,16 @@
+1998-03-19  Paul Eggert  <eggert@twinsun.com>
+
+       * lib/fsusage.h (struct fs_usage): New member
+       fsu_bavail_top_bit_set.
+       * lib/fsusage.c: Include <limits.h>.
+       (CHAR_BIT, EXTRACT_TOP_BIT, PROPAGATE_TOP_BIT): New macros.
+       (get_fs_usage): If top bit of system variable corresponding to
+       fsu_bavail is set, then set fsu_bavail_top_bit_set, and
+       sign-extend the value when storing it into fsu_bavail.
+       * src/df.c (show_dev): If fsu_bavail_top_bit_set is nonzero,
+       assume the original value corresponding to fsu_bavail was negative.
+       Reported by Arne Juul.
+
 1998-03-18  Jim Meyering  <meyering@eng.ascend.com>
 
        * src/Makefile.am (rm-prep): Add dependency and rule to save users