diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-06-09 00:53:35 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-09 11:14:57 +0100 |
commit | 6878ae412d8e7fb65ad77a3d68af986377d9d977 (patch) | |
tree | 30712969051f5a906f93e57a7d1e4c7a2cf18011 /README-release | |
parent | 8f2231aa2466963b43e228fc4b6066dd519da4d0 (diff) | |
download | coreutils-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 'README-release')
0 files changed, 0 insertions, 0 deletions