From af2a4457f1d94e99384ac79017f0f39bb07af26e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Jun 2008 12:58:54 +0200 Subject: [PATCH] Improve Tru64 support. --- ChangeLog | 5 +++++ lib/acl-internal.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 339839131..e71b87d07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-06-02 Bruno Haible + * lib/acl-internal.h (ACL_NOT_WELL_SUPPORTED): Include EOPNOTSUPP if + it exists. + +2008-06-02 Bruno Haible + * lib/acl_entries.c (acl_entries): Rewrite to use acl_get_entry. * lib/copy-acl.c (qcopy_acl): Update comment. diff --git a/lib/acl-internal.h b/lib/acl-internal.h index 8c8156d50..478fafcb5 100644 --- a/lib/acl-internal.h +++ b/lib/acl-internal.h @@ -131,6 +131,9 @@ rpl_acl_set_fd (int fd, acl_t acl) # if defined __APPLE__ && defined __MACH__ /* MacOS X */ # define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == ENOENT) +# elif defined EOPNOTSUPP /* Tru64 NFS */ +# define ACL_NOT_WELL_SUPPORTED(Err) \ + ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == EOPNOTSUPP) # else # define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY) -- 2.11.0