PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Wed Feb 23 08:02:19 PST 2011
src/polkitbackend/polkitbackendactionpool.c | 2 +-
src/polkitbackend/polkitbackendconfigsource.c | 2 +-
src/polkitbackend/polkitbackendlocalauthority.c | 2 +-
src/polkitbackend/polkitbackendlocalauthorizationstore.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 78baa4742cf07fb04a9ecab24a068eca0e6ed547
Author: David Zeuthen <davidz at redhat.com>
Date: Wed Feb 23 11:01:31 2011 -0500
Be more specific about what info we want when enumerating files
Signed-off-by: David Zeuthen <davidz at redhat.com>
diff --git a/src/polkitbackend/polkitbackendactionpool.c b/src/polkitbackend/polkitbackendactionpool.c
index 55eecf5..b705daa 100644
--- a/src/polkitbackend/polkitbackendactionpool.c
+++ b/src/polkitbackend/polkitbackendactionpool.c
@@ -519,7 +519,7 @@ ensure_all_files (PolkitBackendActionPool *pool)
error = NULL;
e = g_file_enumerate_children (priv->directory,
- "standard::*",
+ "standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
diff --git a/src/polkitbackend/polkitbackendconfigsource.c b/src/polkitbackend/polkitbackendconfigsource.c
index abdb089..838bc6a 100644
--- a/src/polkitbackend/polkitbackendconfigsource.c
+++ b/src/polkitbackend/polkitbackendconfigsource.c
@@ -319,7 +319,7 @@ polkit_backend_config_source_ensure (PolkitBackendConfigSource *source)
error = NULL;
enumerator = g_file_enumerate_children (source->priv->directory,
- "standard::*",
+ "standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
diff --git a/src/polkitbackend/polkitbackendlocalauthority.c b/src/polkitbackend/polkitbackendlocalauthority.c
index 7af6d4f..23407e9 100644
--- a/src/polkitbackend/polkitbackendlocalauthority.c
+++ b/src/polkitbackend/polkitbackendlocalauthority.c
@@ -193,7 +193,7 @@ add_all_authorization_stores (PolkitBackendLocalAuthority *authority)
toplevel_directory = g_file_new_for_path (toplevel_path);
directory_enumerator = g_file_enumerate_children (toplevel_directory,
- "standard::*",
+ "standard::name,standard::type",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
diff --git a/src/polkitbackend/polkitbackendlocalauthorizationstore.c b/src/polkitbackend/polkitbackendlocalauthorizationstore.c
index 20e9682..d10121f 100644
--- a/src/polkitbackend/polkitbackendlocalauthorizationstore.c
+++ b/src/polkitbackend/polkitbackendlocalauthorizationstore.c
@@ -549,7 +549,7 @@ polkit_backend_local_authorization_store_ensure (PolkitBackendLocalAuthorization
error = NULL;
enumerator = g_file_enumerate_children (store->priv->directory,
- "standard::*",
+ "standard::name",
G_FILE_QUERY_INFO_NONE,
NULL,
&error);
More information about the hal-commit
mailing list