misc/176886: [PATCH] tail -F file1 file2 > file3 places filenames in file3 incorrectly
Mateusz Guzik
mjguzik at gmail.com
Tue Mar 12 19:30:01 UTC 2013
The following reply was made to PR misc/176886; it has been noted by GNATS.
From: Mateusz Guzik <mjguzik at gmail.com>
To: bug-followup at FreeBSD.org, ilya at 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>
More information about the freebsd-bugs
mailing list