]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 10 Aug 2001 19:02:00 +0000 (19:02 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 10 Aug 2001 19:02:00 +0000 (19:02 +0000)
old/fileutils/ChangeLog

index 18e6cc0bd06e595e6c39196f993139a603b9d14a..c971967c42d7ef5c6bd713cd1cbe5f65f7cb60fc 100644 (file)
@@ -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