aboutsummaryrefslogtreecommitdiffstats
path: root/src/df.c
diff options
context:
space:
mode:
authorHannes Braun <hannes@hannesbraun.net>2025-09-24 21:20:49 +0200
committerPádraig Brady <P@draigBrady.com>2025-09-24 22:37:18 +0100
commit914972e80dbf82aac9ffe3ff1f67f1028e1a788b (patch)
treeb4bc4c421729752a5c4e23893cb8a1f981f05e3a /src/df.c
parenttests: wc: fix hardware acceleration disabling test (diff)
downloadcoreutils-914972e80dbf82aac9ffe3ff1f67f1028e1a788b.tar.gz
coreutils-914972e80dbf82aac9ffe3ff1f67f1028e1a788b.zip
tail: fix tailing larger number of lines in regular files
* src/tail.c (file_lines): Seek to the previous block instead of the beginning (or a little before) of the block that was just scanned. Otherwise, the same block is read and scanned (at least partially) again. This bug was introduced by commit v9.7-219-g976f8abc1. * tests/tail/basic-seek.sh: Add a new test. * tests/local.mk: Reference the new test. * NEWS: mention the bug fix.
Diffstat (limited to 'src/df.c')
0 files changed, 0 insertions, 0 deletions