From: Paul Eggert Date: Sun, 26 Sep 2004 07:07:06 +0000 (+0000) Subject: * src/ls.c: Fix problem with multibyte decimal points in human-readable output. X-Git-Tag: v5.3.0~587 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b7a56a1613e9fca3fb8305c0940567bafecd120;p=thirdparty%2Fcoreutils.git * src/ls.c: Fix problem with multibyte decimal points in human-readable output. --- diff --git a/ChangeLog b/ChangeLog index fe6b00432d..049b95dfb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-09-25 Paul Eggert + + * 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 * Version 5.3.0.