* src/ls.c: Fix problem with multibyte decimal points in human-readable output.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Sep 2004 07:07:06 +0000 (07:07 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Sep 2004 07:07:06 +0000 (07:07 +0000)
ChangeLog

index fe6b004..049b95d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-09-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * src/ls.c (gobble_file, print_long_format): Don't assume that
+       human-readable output has a byte count equal to its column width;
+       this isn't always true in locales where the radix character is not
+       '.' or ','.
+       (format_user_or_group): Revamp code to match the above fix;
+       this avoids the (very faint) possibility of integer overflow.
+       
 2004-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Version 5.3.0.