+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.
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;