]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 13 Jul 2005 20:30:47 +0000 (20:30 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 13 Jul 2005 20:30:47 +0000 (20:30 +0000)
ChangeLog
lily/lily-parser-scheme.cc
lily/main.cc

index ab728bbb0606d87163f97b038051cc63a38f016c..49d372ac887406c529d42f7893957f9cf7a8ce4e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-12  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * lily/lily-parser-scheme.cc (LY_DEFINE): Guile 1.6 fix.
+
 2005-07-13  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * scm/output-socket.scm (grob-bbox): don't use inf? 
 
 2005-07-13  Graham Percival  <gperlist@shaw.ca>
 
-       * input/regression/slur-extreme.ly, input/regression/slur-scoring.ly,
-       lily/slur-configuration.cc, lily/slur.cc, mf/feta-din-code.mf,
-       mf/feta-timesig.mf, mf/parmesan-heads.mf, scm/define-grob-properties.scm:
-       Change "excentricity" to "eccentricity".
+       * input/regression/slur-extreme.ly,
+       input/regression/slur-scoring.ly, lily/slur-configuration.cc,
+       lily/slur.cc, mf/feta-din-code.mf, mf/feta-timesig.mf,
+       mf/parmesan-heads.mf, scm/define-grob-properties.scm: Change
+       "excentricity" to "eccentricity".
 
-       * Documentation/user/converters.itely: fix URL for Noteedit and Rosegarden.
+       * Documentation/user/converters.itely: fix URL for Noteedit and
+       Rosegarden.
 
        * THANKS: added Yoshinobu Isizaki.
 
index 27cf5e5e5c69a3536b523e89f9c07a585e09a73e..5563f7dea5a588d9dfeafd14b94005c654705518 100644 (file)
@@ -225,6 +225,6 @@ LY_DEFINE (ly_parser_output_name, "ly:parser-output-name",
   Lily_parser *p = unsmob_lily_parser (parser);
   SCM_ASSERT_TYPE (p, parser, SCM_ARG1, __FUNCTION__, "Lilypond parser");
 
-  return scm_from_locale_string (p->output_basename_.to_str0 ());
+  return scm_makfrom0str (p->output_basename_.to_str0 ());
 }
 
index 1efd32303b8239b252de73c015080d8c1712b714..9a34bc2959e4f24c3aedbcb05527fb491727e12e 100644 (file)
@@ -726,9 +726,25 @@ parse_argv (int argc, char **argv)
     }
 }
 
+#ifdef __MINGW32__
+#  include "windows.h"
+#  ifndef INVALID_HANDLE
+#    define INVALID_HANDLE ((void*) -1)
+#  endif
+#endif
+
 int
 main (int argc, char **argv)
 {
+#ifdef __MINGW32__
+  /* Possible gs.exe fix for DOS-based Windowses.  */
+  if (GetStdHandle (STD_OUTPUT_HANDLE) == INVALID_HANDLE)
+    {
+      freopen ("nul$", "w", stdout);
+      freopen ("nul$", "w", stderr);
+    }
+#endif
+
   setup_localisation ();
   setup_paths (argv[0]);
   parse_argv (argc, argv);