Disable untested support for new flavours of ACLs on AIX.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2009 12:11:54 +0000 (14:11 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2009 12:11:54 +0000 (14:11 +0200)
ChangeLog
lib/file-has-acl.c
lib/set-mode-acl.c

index 7f713d8..12962ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-27  Bruno Haible  <bruno@clisp.org>
+
+       Disable untested support for new flavours of ACLs on AIX.
+       * lib/file-has-acl.c (file_has_acl): Mark newer AIX code as work in
+       progress.
+       * lib/set-mode-acl.c (qset_acl): Likewise.
+
 2008-12-07  Bruno Haible  <bruno@clisp.org>
 
        Add support for new flavours of ACLs on AIX. (Untested.)
index 4ad5710..5e6bfe6 100644 (file)
@@ -260,7 +260,7 @@ acl_nontrivial (struct acl *a)
   return (acl_last (a) != a->acl_ext ? 1 : 0);
 }
 
-# if HAVE_ACLX_GET /* newer AIX */
+# if HAVE_ACLX_GET && defined ACL_AIX_WIP /* newer AIX */
 
 /* Return 1 if the given ACL is non-trivial.
    Return 0 if it is trivial, i.e. equivalent to a simple stat() mode.  */
@@ -529,7 +529,7 @@ file_has_acl (char const *name, struct stat const *sb)
             Repeat.  */
        }
 
-# elif HAVE_ACLX_GET /* AIX */
+# elif HAVE_ACLX_GET && defined ACL_AIX_WIP /* AIX */
 
       acl_type_t type;
       char aclbuf[1024];
index c3747a6..ddac4df 100644 (file)
@@ -445,7 +445,7 @@ qset_acl (char const *name, int desc, mode_t mode)
     }
   return 0;
 
-# elif HAVE_ACLX_GET /* AIX */
+# elif HAVE_ACLX_GET && defined ACL_AIX_WIP /* AIX */
 
   acl_type_list_t types;
   size_t types_size = sizeof (types);
@@ -551,6 +551,7 @@ qset_acl (char const *name, int desc, mode_t mode)
     }
 
   return chmod_or_fchmod (name, desc, mode);
+
 # elif HAVE_STATACL /* older AIX */
 
   union { struct acl a; char room[128]; } u;