PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Fri Apr 6 18:52:48 PDT 2007
libpolkit/libpolkit-context.c | 2 +-
libpolkit/libpolkit-privilege-cache.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 339a8b626814b74a07d9005e1ef81a2b03b99938 (from 6d42a04772497cb9ce37a33f46903fcaa60e574f)
Author: David Zeuthen <davidz at redhat.com>
Date: Fri Apr 6 21:52:37 2007 -0400
really ignore privilege files starting with "." this time
Also avoid dumping all privilege file entries to debug whenever we
populate our privilege cache.
diff --git a/libpolkit/libpolkit-context.c b/libpolkit/libpolkit-context.c
index 79aa588..ded91cc 100644
--- a/libpolkit/libpolkit-context.c
+++ b/libpolkit/libpolkit-context.c
@@ -257,7 +257,7 @@ libpolkit_context_get_privilege_cache (P
pk_context->priv_dir, error->message);
g_error_free (error);
} else {
- libpolkit_privilege_cache_debug (pk_context->priv_cache);
+ /*libpolkit_privilege_cache_debug (pk_context->priv_cache)*/;
}
}
diff --git a/libpolkit/libpolkit-privilege-cache.c b/libpolkit/libpolkit-privilege-cache.c
index e9aeffa..d9ae81d 100644
--- a/libpolkit/libpolkit-privilege-cache.c
+++ b/libpolkit/libpolkit-privilege-cache.c
@@ -111,7 +111,7 @@ libpolkit_privilege_cache_new (const cha
if (!g_str_has_suffix (file, ".priv"))
continue;
- if (g_str_has_suffix (file, "."))
+ if (g_str_has_prefix (file, "."))
continue;
path = g_strdup_printf ("%s/%s", dirname, file);
More information about the hal-commit
mailing list