----- Original Message ----- From: "David Kastrup" <d...@gnu.org>
To: <lilypond-devel@gnu.org>
Sent: Wednesday, July 13, 2011 9:59 AM
Subject: Re: Adds redirect-lilypond-output option to lilypond-book(issue4664060)


percival.music...@gmail.com writes:

in light of the growing consensus for "combined" logfiles for the build
system -- and given that lilypond only produces stuff on stderr and
apparently this isn't going to change -- I wonder if it might be better
to redirect both stdout and sterr to a single .log file.

Redirecting two file pointers to the same file has a tendency to wreak
havoc with buffering.

So it is not something I am overly comfortable with.

--
David Kastrup

My understanding (which is certainly not perfect) is that one of the stream is buffered (stdout from memory, without checking) and the other isn't, so that the worst that happens is that the lines are not quite in the order that might be expected.

--
Phil Holmes



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to