diff options
| author | Hannes Braun <hannes@hannesbraun.net> | 2025-09-24 21:20:49 +0200 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-09-24 22:37:18 +0100 |
| commit | 914972e80dbf82aac9ffe3ff1f67f1028e1a788b (patch) | |
| tree | b4bc4c421729752a5c4e23893cb8a1f981f05e3a /src/df.c | |
| parent | tests: wc: fix hardware acceleration disabling test (diff) | |
| download | coreutils-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
