summaryrefslogtreecommitdiff
path: root/tests/misc
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 /tests/misc
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 'tests/misc')
0 files changed, 0 insertions, 0 deletions