hal: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Thu Aug 9 09:54:29 PDT 2007
tools/hal-acl-tool.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree e87f18c41a3f998a7c2b59f041fc9cd19026c048 (from 584d44e2257d70ed034b5d72a13996b8490920ed)
Author: David Zeuthen <davidz at redhat.com>
Date: Thu Aug 9 12:52:08 2007 -0400
use correct mode for open(3p)
From: Joe Orton <jorton at redhat.com>
This is caught by the new glibc open-as-macro feature (as a build
failure): is 0644 appropriate or this file?
diff --git a/tools/hal-acl-tool.c b/tools/hal-acl-tool.c
index b4c5a77..ef4106e 100644
--- a/tools/hal-acl-tool.c
+++ b/tools/hal-acl-tool.c
@@ -1149,7 +1149,7 @@ acl_lock (void)
printf ("%d: attempting to get lock on " PACKAGE_LOCALSTATEDIR "/lib/hal/acl-list\n", getpid ());
- lock_acl_fd = open (PACKAGE_LOCALSTATEDIR "/lib/hal/acl-list", O_CREAT | O_RDWR);
+ lock_acl_fd = open (PACKAGE_LOCALSTATEDIR "/lib/hal/acl-list", O_CREAT | O_RDWR, 0644);
if (lock_acl_fd < 0) {
printf ("%d: error opening/creating " PACKAGE_LOCALSTATEDIR "/lib/hal/acl-list\n", getpid ());
return FALSE;
More information about the hal-commit
mailing list