lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2759 in lilypond: Patch: Don't use /dev/stderr


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2759 in lilypond: Patch: Don't use /dev/stderr which is only defined on some systems
Date: Mon, 20 Aug 2012 11:41:19 +0000

Updates:
        Labels: -Patch-review Patch-needs_work

Comment #2 on issue 2759 by address@hidden: Patch: Don't use /dev/stderr which is only defined on some systems
http://code.google.com/p/lilypond/issues/detail?id=2759

Too bad. With this patch, non-file specific error output gets diverted to file-specific logs. See the comparison between the 2.15.96 behavior and with this patch:

address@hidden:/tmp$ lilypond -dseparate-log-files a.ly b.ly
GNU LilyPond 2.15.96
Processing ./a
Processing ./b
Failed files: (b.ly a.ly)
address@hidden:/tmp$ cat a.log
warning: cannot find file: `a.ly'
address@hidden:/tmp$ cat b.log
warning: cannot find file: `b.ly'
fatal error: failed files: "b.ly a.ly"
address@hidden:/tmp$ /usr/local/tmp/lilypond/out/bin/lilypond -dseparate-log-files a.ly b.ly
GNU LilyPond 2.17.0
address@hidden:/tmp$ cat a.log
Processing ./a
warning: cannot find file: `a.ly'
address@hidden:/tmp$ cat b.log
Processing ./b
warning: cannot find file: `b.ly'
Failed files: (b.ly a.ly)
fatal error: failed files: "b.ly a.ly"
address@hidden:/tmp$

Note, however, that even the old version puts _one_ message about both a.ly and b.ly failing into b.log. Arguably equally wrong for split log files.

No idea how to go forward on this one. Maybe it needs ripping out ly:redirect-stderr in some manner.




reply via email to

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