From: Bruno Haible Date: Tue, 3 Jun 2008 10:58:54 +0000 (+0200) Subject: Improve Tru64 support. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2a4457f1d94e99384ac79017f0f39bb07af26e;p=pspp Improve Tru64 support. --- diff --git a/ChangeLog b/ChangeLog index 339839131c..e71b87d07b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/lib/acl-internal.h b/lib/acl-internal.h index 8c8156d501..478fafcb54 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)