diff options
author | Jim Meyering <jim@meyering.net> | 2007-04-10 00:18:25 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-04-10 00:21:07 +0200 |
commit | f839bfad730f49d162213fe313b47319bd74b9d3 (patch) | |
tree | feb33a0b9656bbc59d3d1d17848a186d525ec318 /tests/misc | |
parent | 4d484fe09feb198a8129fea29b4db50891988f62 (diff) | |
download | coreutils-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