changeset 10153:cbc922dd9819

Improve Tru64 support.
author Bruno Haible <bruno@clisp.org>
date Tue, 03 Jun 2008 12:58:54 +0200
parents e88e20b576cc
children 148190ed341d
files ChangeLog lib/acl-internal.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-02  Bruno Haible  <bruno@clisp.org>
+
+	* lib/acl-internal.h (ACL_NOT_WELL_SUPPORTED): Include EOPNOTSUPP if
+	it exists.
+
 2008-06-02  Bruno Haible  <bruno@clisp.org>
 
 	* lib/acl_entries.c (acl_entries): Rewrite to use acl_get_entry.
--- a/lib/acl-internal.h
+++ b/lib/acl-internal.h
@@ -131,6 +131,9 @@
 #  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)