bug-coreutils
[Top][All Lists]
Advanced

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

Re: new snapshot available: coreutils-6.12.208-2441


From: Jim Meyering
Subject: Re: new snapshot available: coreutils-6.12.208-2441
Date: Sat, 27 Sep 2008 19:36:06 +0200

Jos Backus <address@hidden> 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?




reply via email to

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