Revert "A few more instances of non-glib 'open()' getting used without locale-specifi...
[ardour.git] / libs / ardour / utils.cc
index 71051434c6e6d15a0af67ce11bc07b7e2df74ca9..270aaa37fd5f0c85c00b3d67200c168860fa4cce 100644 (file)
@@ -42,7 +42,6 @@
 #include <errno.h>
 #include <regex.h>
 
-#include <glibmm/convert.h>
 #include <glibmm/miscutils.h>
 #include <glibmm/fileutils.h>
 
@@ -300,7 +299,7 @@ ARDOUR::cmp_nocase_utf8 (const string& s1, const string& s2)
 int
 ARDOUR::touch_file (string path)
 {
-       int fd = open (Glib::locale_from_utf8 (path).c_str(), O_RDWR|O_CREAT, 0660);
+       int fd = open (path.c_str(), O_RDWR|O_CREAT, 0660);
        if (fd >= 0) {
                close (fd);
                return 0;