Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 19:30:01 GMT
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/176886: [PATCH] tail -F file1 file2 > file3 places filenames in file3 incorrectly
Message-ID:  <201303121930.r2CJU1a8062088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/176886; it has been noted by GNATS.

From: Mateusz Guzik <mjguzik@gmail.com>
To: bug-followup@FreeBSD.org, ilya@bakulin.de
Cc:  
Subject: Re: misc/176886: [PATCH] tail -F file1 file2 > file3 places
 filenames in file3 incorrectly
Date: Tue, 12 Mar 2013 20:25:40 +0100

 Hi,
 
 just my $0,03.
 
 Apparently mapprint uses WR macro which expands to write to
 STDOUT_FILENO, which explains why data buffered in FILE stdout was not
 displayed first.
 
 I don't know if "\n" at the end of the buffer warrants flushing the stream.
 
 In either case, WR is used in several places and I'm not sure what is
 the correct fix.
 
 -- 
 Mateusz Guzik <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303121930.r2CJU1a8062088>