summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-10 19:02:00 +0000
committerJim Meyering <jim@meyering.net>2001-08-10 19:02:00 +0000
commit7ad9855775e8947c796422282ed4d5e54798bb6f (patch)
treed64aba4c3251a64750695eaef73985bea913b202
parentbffeb8c5aa3a2076646ca56d6324e4a21a459d1f (diff)
downloadcoreutils-7ad9855775e8947c796422282ed4d5e54798bb6f.tar.xz
*** empty log message ***
-rw-r--r--old/fileutils/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 18e6cc0bd..c971967c4 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,3 +1,17 @@
+2001-08-10 Paul Eggert <eggert@twinsun.com>
+
+ * src/ls.c (print_long_format): Simplify previous patch for
+ listing negative sizes, by adding OFF_T_MAX - OFF_T_MIN + 1
+ instead of doing a fancy conditional shift. This is simpler
+ and it avoids GCC's bogus compile-time warning about shift
+ counts. (As a bonus, it is portable to hosts that do not use
+ twos-complement arithmetic. :-)
+
+2001-08-10 Jim Meyering <meyering@lucent.com>
+ * ls.c (print_long_format): Multiply the shift width by zero
+ to avoid a warning from gcc on hosts with an unsigned type for the
+ st_size member.
+
2001-08-06 Paul Eggert <eggert@twinsun.com>
* src/ls.c (print_long_format): If a file size is negative, assume