projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ea1b2
)
use g_open for DLL arch test
author
Robin Gareus
<robin@gareus.org>
Thu, 8 Oct 2015 11:40:37 +0000
(13:40 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 8 Oct 2015 11:43:32 +0000
(13:43 +0200)
libs/ardour/plugin_manager.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/plugin_manager.cc
b/libs/ardour/plugin_manager.cc
index d98f5ccc45e6d92f5a01494d30731006bf3b5714..cccc1635f1727a9f51a19263e088a984e0b8a9a2 100644
(file)
--- a/
libs/ardour/plugin_manager.cc
+++ b/
libs/ardour/plugin_manager.cc
@@
-798,7
+798,7
@@
static std::string dll_info (std::string path) {
uint16_t type = 0;
off_t pe_hdr_off = 0;
- int fd = open(path.c_str(), O_RDONLY, 0444);
+ int fd =
g_
open(path.c_str(), O_RDONLY, 0444);
if (fd < 0) {
return _("- cannot open dll"); // TODO strerror()