Get --dired offsets right when handling stat-failed entries.
authorJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 15:30:27 +0000 (15:30 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 15:30:27 +0000 (15:30 +0000)
commitc04a374bb026e19b2a993681cadae617b918d692
tree2ea91d3ef63c72a242e2e704a037aa2d50fa522c
parent5a06d062c78b2f0b755eef9c4ec2faaf385fa6ac
Get --dired offsets right when handling stat-failed entries.
* src/ls.c (print_long_format): Be careful to increment P by the
appropriate amount, even when inode_number_width and nlink_width
are zero.
* tests/ls/stat-failed: Test for the above.
ChangeLog
src/ls.c
tests/ls/stat-failed