]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail: refactor ‘failable’
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Aug 2025 15:29:52 +0000 (08:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Aug 2025 02:48:06 +0000 (19:48 -0700)
commit01e4d2983a0e6a7848caae6a3a86b3a751538d1e
tree0c4c974b2b46d493a0010d2fca19452cb4c05358
parente0100ac746e6ddefeef09e17716c148edc1f995b
tail: refactor ‘failable’

* src/tail.c (recheck, tail_file): Do not mark a file as tailable
merely because --retry is not in effect.  Simplify internal logic.
This should not change behavior; it’s just for clarity and to
make the code match the comments better.
src/tail.c