]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail: fix support for -F with non seekable files
authorPádraig Brady <P@draigBrady.com>
Mon, 30 Jan 2023 21:44:10 +0000 (21:44 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 6 Feb 2023 16:18:12 +0000 (16:18 +0000)
commitc0c63e9735908a9579f8735001957db6bd81afc3
tree8e526079d53dd9f98965dc0e3a2fef26ea954811
parentead07bb3d461389bb52336109be7858458e49c38
tail: fix support for -F with non seekable files

This was seen to be an issue when following a
symlink that was being updated to point to
different underlying devices.

* src/tail.c (recheck): Guard the lseek() call to only
be performed for regular files.
* NEWS: Mention the bug fix.
NEWS
src/tail.c