openat: Work around compilation error with OSF/1 5.1 DTK cc.
[gnulib.git] / ChangeLog
index 3c591d8..79d9777 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,69 @@
+2011-09-07  Bruno Haible  <bruno@clisp.org>
+
+       openat: Work around compilation error with OSF/1 5.1 DTK cc.
+       * lib/openat.h: Use different syntax for include of <fcntl.h>.
+
+2011-09-06  Bruno Haible  <bruno@clisp.org>
+
+       acl: Fix a test failure on newer Solaris 10 with ZFS.
+       * tests/test-sameacls.c (main): Interpret acl GETACLCNT failure with
+       ENOSYS as no ACL.
+       Reported by Jim Meyering.
+
+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.
+
+2011-09-06  Bruno Haible  <bruno@clisp.org>
+
+       acl: Fix a test failure on IRIX 6.5 with NFS.
+       * lib/acl-internal.h (MODE_INSIDE_ACL): Define to 0 on IRIX.
+       * lib/set-mode-acl.c (qset_acl): Test !HAVE_ACL_TYPE_EXTENDED instead
+       of MODE_INSIDE_ACL. If !MODE_INSIDE_ACL, do a chmod_or_fchmod always.
+       * lib/copy-acl.c (qcopy_acl): Likewise.
+
+2011-09-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       openat: port to AIX 7.1 with large files
+       AIX 7.1 does a "#define openat open64at" if large files are in use,
+       so we can't simply #undef openat.  Use the orig_openat trick (similar
+       to orig_open in lib/open.c) to work around the problem.  Problem
+       reported by Kevin Brott for GNU tar, in the thread containing
+       <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00032.html>.
+       * lib/openat.c (__need_system_fcntl_h): Define first.
+       Include <fcntl.h> and <sys/types.h> before undefining.
+       (orig_openat) [HAVE_OPENAT]: New inline function.
+       (openat) [HAVE_OPENAT]: Do not undef.
+       (rpl_openat): Use orig_openat, not openat.
+
+2011-09-05  Joachim Schmitz  <schmitz@hp.com>  (tiny change)
+            Bruno Haible  <bruno@clisp.org>
+
+       acl: Avoid errors on NonStop Kernel.
+       * lib/file-has-acl.c (file_has_acl) [NonStop Kernel]: Ignore ENOSYS and
+       ENOTSUP errors.
+
+2011-09-05  Bruno Haible  <bruno@clisp.org>
+
+       acl: Clean up Solaris code.
+       * lib/acl-internal.h: Remove no-op #if.
+       * lib/file-has-acl.c: Likewise.
+       * lib/set-mode-acl.c (qset_acl): Remove unused Solaris code.
+       * lib/copy-acl.c (qcopy_acl): Likewise.
+
+2011-09-05  Bruno Haible  <bruno@clisp.org>
+
+       acl: Fix a bug with NFSv4 ACLs on Solaris 10 (newer version) in
+       binaries built on the original Solaris 10.
+       * lib/file-has-acl.c (file_has_acl): ACLs with 4..6 ACEs can be
+       trivial.
+
 2011-09-05  Bruno Haible  <bruno@clisp.org>
 
        acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version).