From: Jan Nieuwenhuizen Date: Wed, 20 Jul 2005 21:31:27 +0000 (+0000) Subject: (running-from-gui?): Always write to .log file on X-Git-Tag: release/2.6.2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=25e36c4de788cc5478240ffb95f0c69824dab4e7;p=lilypond.git (running-from-gui?): Always write to .log file on dos-based windows. --- diff --git a/ChangeLog b/ChangeLog index e7bddc42a6..c09fb9dae8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-20 Jan Nieuwenhuizen + + * scm/lily.scm (running-from-gui?): Always write to .log file on + dos-based windows. + 2005-07-19 Jan Nieuwenhuizen * lily/main.cc (main): Remove invalid handle kludge. diff --git a/scm/lily.scm b/scm/lily.scm index faa9e62d3a..788b82bdfe 100644 --- a/scm/lily.scm +++ b/scm/lily.scm @@ -388,7 +388,8 @@ The syntax is the same as `define*-public'." ;; If no TTY and not using safe, assume running from GUI. (cond ((eq? PLATFORM 'windows) - (if DOS #f + ;; Always write to .log file. + (if DOS #t ;; This only works for i586-mingw32msvc-gcc -mwindows (not (string-match "standard input" (format #f "~S" (current-input-port))))))