summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-04-10 00:18:25 +0200
committerJim Meyering <jim@meyering.net>2007-04-10 00:21:07 +0200
commitf839bfad730f49d162213fe313b47319bd74b9d3 (patch)
treefeb33a0b9656bbc59d3d1d17848a186d525ec318 /ChangeLog
parent4d484fe09feb198a8129fea29b4db50891988f62 (diff)
downloadcoreutils-f839bfad730f49d162213fe313b47319bd74b9d3.tar.xz
ls: don't form or compute the length of strings that won't be used.
* src/ls.c (gobble_file): Form and compute length of strings for block size, owner, group, author, major+minor numbers and file size only if they'll actually be used. I.e., don't form most of them when not producing long format output.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a40c398d5..5ebf3341e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-04-10 Jim Meyering <jim@meyering.net>
+
+ ls: don't form or compute the length of strings that won't be used.
+ * src/ls.c (gobble_file): Form and compute length of strings for
+ block size, owner, group, author, major+minor numbers and file size
+ only if they'll actually be used. I.e., don't form most of them
+ when not producing long format output.
+
2007-04-07 Jim Meyering <jim@meyering.net>
Add a test for, and document, today's fix.