summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Delbeke <olivier.delbeke@gmail.com>2015-04-23 10:11:46 +0200
committerOlivier Delbeke <olivier.delbeke@gmail.com>2015-04-23 10:11:46 +0200
commit9fd9f29b4dde6cd8c1b30f64d99ebdfe875242bc (patch)
tree73f00e9f1b60a2f78a4fdc4c999949f0af3e2f92
parent244dec37a08d4c6de0ae9a49540aff2212a2b225 (diff)
downloadautomotive-message-broker-9fd9f29b4dde6cd8c1b30f64d99ebdfe875242bc.tar.gz
Bugfix: parsing of plugins.d failed with some file-systems
-rw-r--r--ambd/pluginloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ambd/pluginloader.cpp b/ambd/pluginloader.cpp
index 14be943d..dd1d2ed1 100644
--- a/ambd/pluginloader.cpp
+++ b/ambd/pluginloader.cpp
@@ -187,7 +187,8 @@ void PluginLoader::scanPluginDir(const std::string & dir)
GError* enumerateError = nullptr;
- auto enumerator = amb::make_gobject(g_file_enumerate_children(pluginsDirectory.get(), G_FILE_ATTRIBUTE_ID_FILE,
+ auto enumerator = amb::make_gobject(g_file_enumerate_children(pluginsDirectory.get(),
+ G_FILE_ATTRIBUTE_ID_FILE "," G_FILE_ATTRIBUTE_STANDARD_NAME,
G_FILE_QUERY_INFO_NONE, nullptr,
&enumerateError));
auto enumerateErrorPtr = amb::make_super(enumerateError);