diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-11 11:56:35 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-11 11:56:35 +0200 |
commit | 389df9e59a5480871a42d147b42a2a09a9ce9dcd (patch) | |
tree | 1d322a8bf2f2aa56b3597608ee94b9c145e56f84 /lib/file-has-acl.c | |
parent | df365b5f89d7efc233e2af6df49ce63c75934b78 (diff) | |
download | gnulib-389df9e59a5480871a42d147b42a2a09a9ce9dcd.tar.gz |
acl: Fix compilation on Solaris 10 (older version).
* lib/file-has-acl.c (acl_ace_nontrivial): Use NEW_ACE_EVERYONE instead
of ACE_EVERYONE.
* lib/set-mode-acl.c (qset_acl): Likewise.
Reported by Christian Jullien <eligis@orange.fr>.
Diffstat (limited to 'lib/file-has-acl.c')
-rw-r--r-- | lib/file-has-acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index ddae4fe0d9..1b7e392a3f 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -217,7 +217,7 @@ acl_ace_nontrivial (int count, ace_t *entries) index2 = 0; else if (ace->a_flags == (NEW_ACE_GROUP | NEW_ACE_IDENTIFIER_GROUP)) index2 = 2; - else if (ace->a_flags == ACE_EVERYONE) + else if (ace->a_flags == NEW_ACE_EVERYONE) index2 = 4; else return 1; |