[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    Re: Patch to fix data loss with `tail -F'
From:       Jos Backus <jos () catnook ! com>
Date:       2008-08-31 19:55:17
Message-ID: 20080831195517.GB28874 () lizzy ! catnook ! local
[Download RAW message or body]

On Sun, Aug 31, 2008 at 08:07:54PM +0200, Jim Meyering wrote:
> Jos Backus <jos@catnook.com> wrote:
> > https://savannah.gnu.org/patch/index.php?6612
> >
> > Please let me know if you see any issues with this change; I'd like to see it
> > adopted for the next coreutils release.
> 
> Thank you!

You're welcome! It will be great to see this change make it into coreutils.

> That looks like a useful patch.
> Can you write a small stand-alone script or outline a
> simple procedure for demonstrating the failure?
> 
> I'd like to check in a test for the failure along with the fix.

Hm, that might not be easy. Did you have a look at
http://www.freebsd.org/cgi/query-pr.cgi?pr=101979&cat=bin ? It outlines my
test setup, including the few scripts that were used to detect data loss and
verify that the fix indeed works. If daemontools/runit is installed it's a
matter of setting up two services and watching their output.  Would that be
sufficient?

-- 
Jos Backus
jos at catnook.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic