aboutsummaryrefslogtreecommitdiff
path: root/tests/files/zip/example.zip
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-04-08 10:36:03 -0700
committerRob Landley <rob@landley.net>2020-04-08 15:37:05 -0500
commit44c43973238ca1c8d7ac6e243932fb5b32731155 (patch)
treeb88dc431620cfd0ddf1cdc34581b1c742b85e219 /tests/files/zip/example.zip
parentb7bee86f384ef57a01686543ad2d108e8d6f4266 (diff)
downloadtoybox-44c43973238ca1c8d7ac6e243932fb5b32731155.tar.gz
ls: fix -h with block counts.
The filter() function modifies st_blocks so it's always 1KiB rather than 512B blocks, but the human-readable output was still assuming 512B. This meant that `ls -sh` was showing figures half the size of `ls -s`, and that the "total" line with -h was also off by a factor of 2. No new test, because I don't know how to write one that would work on all file systems. Bug: http://b/153383721
Diffstat (limited to 'tests/files/zip/example.zip')
0 files changed, 0 insertions, 0 deletions