* lib/file-has-acl.c (file_has_acl): Interpret aclx_get failure with
ENOSYS as no ACL.
2011-09-06 Bruno Haible <bruno@clisp.org>
+ acl: Update for AIX >= 5.3 with NFS.
+ * lib/file-has-acl.c (file_has_acl): Interpret aclx_get failure with
+ ENOSYS as no ACL.
+
acl: Fix a test failure on AIX >= 5.3 with NFS.
* tests/test-sameacls.c (main): Interpret aclx_get failure with ENOSYS
as no ACL.
type.u64 = ACL_ANY;
if (aclx_get (name, 0, &type, aclbuf, &aclsize, &mode) >= 0)
break;
+ if (errno == ENOSYS)
+ return 0;
if (errno != ENOSPC)
{
if (acl != aclbuf)