]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-guile.cc
Use g_spawn_sync () instead of system (). Fixes #1429.
[lilypond.git] / lily / lily-guile.cc
index f0ff8cabbc99614fd7adafabdf1a64e2337520ba..1763a5cebbe23593f744ec98def2bc3ea60bcc61 100644 (file)
@@ -138,12 +138,10 @@ ly_string2scm (string const &str)
                                  str.length ());
 }
 
-
 char *
-ly_scm2newstr (SCM str, size_t *lenp)
+ly_scm2str0 (SCM str)
 {
-  char* p = scm_to_locale_stringn(str, lenp);
-  return p;
+  return scm_to_locale_string (str);
 }
 
 /*