diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-07-25 20:09:23 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-07-25 23:14:50 +1000 |
commit | e3c303d72f4fc0ee8ea2ed76dd87b05f50a924f5 (patch) | |
tree | 77ded2a025c2683aab80d66cbb806914a113ecf7 /libs/ardour/utils.cc | |
parent | b2ff1e1734897cb9ee334ba82bd382c8e44b80f9 (diff) |
Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"
This reverts commit 52ef02b387d8267315547129f7f100048a5c1166.
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index 71051434c6..270aaa37fd 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -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; |