Jos Backus <[EMAIL PROTECTED]> wrote:
> Hi Jim,
>
> Would you mind having another a look at
>
> https://savannah.gnu.org/patch/index.php?6612
>
> ? I realize the test setup for exposing this bug is complicated; if you have
> any ideas on how to simplify it I'd love to know, as I want to see this fix
> make it into coreutils.
Hi Jos,
I think the trick to doing this right is as follows:
When a tailed file (name) disappears, and a subsequent
open attempt shows the new file is nonexistent or empty,
continue tailing the old file descriptor.
Only once the new file has content do we perform the final read
and then close the old descriptor.
Which means we'd need a more involved patch.
Do you feel like implementing that?
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils