ls: fix recent regression in size alignment
commit7f2c97a2411e66c32ef8e6818416a0a2231c5b8e
authorPádraig Brady <P@draigBrady.com>
Fri, 3 Nov 2023 16:22:22 +0000 (3 16:22 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 3 Nov 2023 16:34:38 +0000 (3 16:34 +0000)
treed3867766132f5dce6798ba8dc1b35bbd7d6cc796
parent56e9acb2927874770363462cc6f5d2ee7d2b4c6d
ls: fix recent regression in size alignment

* src/ls.c (print_long_format): Use correct column width,
introduced due to a copy/paste error in commit v9.4-2-gcbb6dfec5
* tests/ls/size-align.sh: Add a test.
* tests/local.mk: Reference the new test.
Fixes https://bugs.gnu.org/66919
src/ls.c
tests/local.mk
tests/ls/size-align.sh [new file with mode: 0755]