projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45b218a
)
add more guards around definition of ACE_-related code
author
Jim Meyering
<meyering@redhat.com>
Mon, 9 Jun 2008 09:28:55 +0000
(11:28 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 9 Jun 2008 09:28:55 +0000
(11:28 +0200)
* lib/file-has-acl.c (acl_ace_nontrivial): Define only if
ALLOW and ACE_OWNER are also defined.
lib/file-has-acl.c
patch
|
blob
|
history
diff --git
a/lib/file-has-acl.c
b/lib/file-has-acl.c
index
9589db9
..
5b851b9
100644
(file)
--- a/
lib/file-has-acl.c
+++ b/
lib/file-has-acl.c
@@
-146,7
+146,7
@@
acl_nontrivial (int count, aclent_t *entries)
return 0;
}
-# if
def ACE_GETACL
+# if
defined ACE_GETACL && defined ALLOW && defined ACE_OWNER
/* Test an ACL retrieved with ACE_GETACL.
Return 1 if the given ACL, consisting of COUNT entries, is non-trivial.