From 9fd9f29b4dde6cd8c1b30f64d99ebdfe875242bc Mon Sep 17 00:00:00 2001 From: Olivier Delbeke Date: Thu, 23 Apr 2015 10:11:46 +0200 Subject: [PATCH] Bugfix: parsing of plugins.d failed with some file-systems --- ambd/pluginloader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ambd/pluginloader.cpp b/ambd/pluginloader.cpp index 14be943..dd1d2ed 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); -- 2.7.4