bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8544: tail bug - starting in 7.5 "tail --follow=name" behaves like "


From: Jim Meyering
Subject: bug#8544: tail bug - starting in 7.5 "tail --follow=name" behaves like "tail --follow=name --retry"
Date: Mon, 25 Apr 2011 11:23:04 +0200

Jim Meyering wrote:
> Tim Underwood wrote:
>> Going from Ubuntu 10.04 (coreutils 7.4) to Ubuntu 10.10 (coreutils 8.5) I
>> noticed that "tail --follow=name" started behaving like "tail --follow=name
>> --retry".  It looks like the issue started in 7.5 and still exists in 8.9.
...
>
> Thanks again.
> Here's the fix I expect to use:
>
> Subject: [PATCH] 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.

I've pushed that, and am closing this issue.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]