diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-09-21 18:42:40 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-09-28 23:40:47 +0100 |
commit | f04daf570b91286d47a80074cf4a6a63c4309dc0 (patch) | |
tree | 946f0975a979c05c523d5f21328116dee506162f /NEWS | |
parent | eb406b2caf4d6307d7f86f38da4d6029a6b83961 (diff) | |
download | coreutils-f04daf570b91286d47a80074cf4a6a63c4309dc0.tar.xz |
tail: -F now always processes initially untailable files
which was not the case when inotify was not available.
* src/tail.c (any_live_files): Simplify, since the IGNORE
flag is now only set when a file should be ignored indefinitely.
(recheck): Only output the "giving up on name" message
when that's actually the case. Only set the IGNORE flag
when ignoring a file indefinitely.
(tail_file): Likewise.
* tests/tail-2/retry.sh: Add a test case. Also run
all existing test cases with and without inotify.
NEWS: Mention the fix.
THANKS.in: Add the reporter.
Fixes http://bugs.gnu.org/24495 which was detected
using Symbolic Execution techniques developed in
the course of the SYMBIOSYS research project at
COMSYS, RWTH Aachen University.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,6 +42,11 @@ GNU coreutils NEWS -*- outline -*- seq now immediately exits upon write errors. [This bug was present in "the beginning".] + tail -F now continues to process initially untailable files that are replaced + by a tailable file. This was handled correctly when inotify was available, + and is now handled correctly in all cases. + [bug introduced in fileutils-4.0h] + yes now handles short writes, rather than assuming all writes complete. [bug introduced in coreutils-8.24] |