]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 2 Mar 2006 12:58:19 +0000 (12:58 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 2 Mar 2006 12:58:19 +0000 (12:58 +0000)
ChangeLog
flower/file-name.cc

index 55c6613fff4375b75b6a1ef606bbda49fba192de..9833e9d0f71a48c04885421799bc9cec0c13e12d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-02  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * flower/file-name.cc (dos_to_posix): Flower string fix.
+
 2006-03-02  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * scripts/midi2ly.py (Key.dump): pychecker cleanups.
index e0ecc58e920c2b9f19887986231932dcf74bb9de..41b3f96f3e1adda4e2e9de79068dfe955b443e7e 100644 (file)
@@ -40,10 +40,10 @@ static string
 dos_to_posix (string file_name)
 {
   char buf[PATH_MAX] = "";
-  char *s = file_name.get_copy_str0 ();
+  char s[PATH_MAX];
+  file_name.copy (s, PATH_MAX - 1);
   /* ugh: char const* argument gets modified.  */
   int fail = cygwin_conv_to_posix_path (s, buf);
-  delete s;
   if (!fail)
     return buf;
   return file_name;