tail --follow=name no longer implies --retry
authorJim Meyering <meyering@redhat.com>
Sun, 24 Apr 2011 21:20:01 +0000 (23:20 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 25 Apr 2011 08:59:15 +0000 (10:59 +0200)
commit61de57cd2369914542d44d32b4a2e001f638ada8
treef50084d419f5f759bbd04ed90e74424813c432dc
parent32eb31999f62605872cfc1c32b85bd9a5fcd198e
tail --follow=name no longer implies --retry

* src/tail.c (tail_forever_inotify): Just as without inotify,
tail --follow=name now terminates when the last tailed-by-name file
is unlinked or moved aside.  This bug was introduced on 2009-06-15
via commit ae494d4b, "tail: use inotify if it is available".
Reported by Tim Underwood in
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22286
* NEWS (Bug fixes): Mention this.
* tests/tail-2/follow-name: Test for this.
* tests/Makefile.am (TESTS): Add it.
NEWS
THANKS.in
src/tail.c
tests/Makefile.am
tests/tail-2/follow-name [new file with mode: 0755]