summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-09 00:53:35 +0100
committerPádraig Brady <P@draigBrady.com>2015-06-09 11:14:57 +0100
commit6878ae412d8e7fb65ad77a3d68af986377d9d977 (patch)
tree30712969051f5a906f93e57a7d1e4c7a2cf18011 /NEWS
parent8f2231aa2466963b43e228fc4b6066dd519da4d0 (diff)
downloadcoreutils-6878ae412d8e7fb65ad77a3d68af986377d9d977.tar.xz
tail: display file headers correctly with inotify
* src/tail.c (tail_forever_inotify): Use the fspec pointer to distinguish previously output files, rather than a descriptor from the inotify event. That event descriptor was that of the parent directory when files were created or renamed etc. (check_fspec): Adjust for the new comparison. Also show the header when the file is truncated, since we show data in this case also. * tests/tail-2/F-headers.sh: A new test case. * tests/local.mk: Reference the new test. * NEWS: Mention the bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c2576c556..4c0f6e478 100644
--- a/NEWS
+++ b/NEWS
@@ -56,6 +56,10 @@ GNU coreutils NEWS -*- outline -*-
tail --follow consistently outputs all data for a truncated file.
[bug introduced in the beginning]
+ tail --follow=name correctly outputs headers for multiple files
+ when those files are being created or renamed.
+ [bug introduced in coreutils-7.5]
+
** New features
chroot accepts the new --skip-chdir option to not change the working directory