New function for testing triviality of ACL with POSIX-draft like API.
[gnulib.git] / ChangeLog
index eb22c0f..9260f75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,156 @@
+2008-06-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl-internal.h (acl_access_nontrivial): New declaration.
+       * lib/file-has-acl.c (acl_access_nontrivial): New function.
+       (file_has_acl): Use it. Save errno afterwards.
+       * lib/copy-acl.c (qcopy_acl): Use acl_access_nontrivial.
+
+2008-06-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/file-has-acl.c (file_has_acl): Put Solaris 10 code after POSIX-
+       draft code. Simplify #ifs.
+       * lib/set-mode-acl.c (qset_acl): Don't test for symlink if !USE_ACL.
+       Put Solaris code after POSIX-draft code. Fix comments regarding
+       Solaris 10, HP-UX. Mention Cygwin.
+       * lib/copy-acl.c (qcopy_acl): Simplify #ifs.
+
+2008-06-03  Eric Blake  <ebb9@byu.net>
+
+       Provide fallback for older kernels.
+       * lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT, HAVE_FUTIMENS]:
+       Provide runtime fallback if kernel lacks support.
+       Reported by Mike Frysinger.
+
+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.
+       * lib/copy-acl.c (qcopy_acl): Update comment.
+
+2008-06-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl-entries.h: Enclose most definitions in #ifs for POSIX-draft
+       like ACL APIs.
+
+2008-06-02  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-file-has-acl.sh: Use different code for Cygwin.
+       * tests/test-set-mode-acl.sh: Likewise.
+       * tests/test-copy-acl.sh: Likewise.
+       * tests/test-copy-file.sh: Likewise.
+
+2008-06-02  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-file-has-acl.sh: Remove unused code.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/copy-acl.c (qcopy_acl): New function, extracted from copy_acl.
+       (copy_acl): Just a wrapper around qcopy_acl that emits the error
+       messages.
+       * lib/set-mode-acl.c (qset_acl): Document return value precisely.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * m4/acl.m4 (gl_FUNC_ACL): Separate the POSIX-like and the Solaris
+       tests. Test for libpacl, needed for OSF/1. Test for extended ACLs,
+       needed for MacOS X. Test for HP-UX API. Test for newer and older AIX
+       APIs.
+       * modules/acl-tests (configure.ac): Remove tests now contained in
+       m4/acl.m4.
+
+2008-06-02  Jim Meyering  <meyering@redhat.com>
+
+       announce-gen: use a better key-server host name
+       * build-aux/announce-gen (main): Recommend keys.gnupg.net, since
+       it may be more consistently reliable.  Suggested by Werner Koch
+       in <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/13717>.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdio-impl.h (fp_ub): Use fp_. Needed for DragonFly BSD.
+       Reported by Voroskoi Andras <voroskoi@gmail.com>.
+
+2008-06-01  Voroskoi Andras  <voroskoi@gmail.com>  (tiny change)
+
+       * lib/stdio-impl.h [__DragonFly__]: Fix typo.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       New ACL tests.
+       * tests/test-file-has-acl.sh: New file.
+       * tests/test-file-has-acl.c: New file.
+       * tests/test-set-mode-acl.sh: New file.
+       * tests/test-set-mode-acl.c: New file.
+       * tests/test-copy-acl.sh: New file, based on tests/test-copy-file.sh.
+       * tests/test-copy-acl.c: New file.
+       * modules/acl-tests: New file, based on modules/copy-file-tests.
+       * modules/copy-file-tests (Files): Remove tests/test-sameacls.c.
+       (Depends-on): Add acl-tests.
+       (configure.ac): Remove checks.
+       (Makefile.am): Don't create test-sameacls program here any more.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-copy-file.sh: Portability fixes for Solaris, HP-UX, IRIX.
+       * tests/test-sameacls.c: Include progname.h.
+       (main): Invoke set_program_name. Portability fixes for MacOS X,
+       Solaris, HP-UX.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freadahead.c (freadahead) [__DragonFly__]: Use the __sreadahead
+       function.
+       Reported by VOROSKOI Andras <voroskoi@gmail.com>.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * modules/rpmatch (Depends-on): Add strdup.
+
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/pipe.c: Include unistd-safer.h.
+       (create_pipe): Ensure the returned file descriptors are not in {0,1,2}.
+       * modules/pipe (Depends-on): Add unistd-safer.
+
+2008-05-30  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/autobuild (configure.ac): Call AB_INIT.
+
+2008-05-30  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-getaddrinfo.c: Don't print debug messages by default.
+       Suggested by Bruno Haible <bruno@clisp.org>.
+
+2008-05-30  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-base64.c: Cast size_t to unsigned long when invoking
+       printf.  Use %lu instead of %d.  Reported by Bruno Haible
+       <bruno@clisp.org>.
+
+2008-05-29  Eric Blake  <ebb9@byu.net>
+
+       Prefer new POSIX 200x interfaces over futimesat.
+       * m4/utimens.m4 (gl_UTIMENS): Check for futimens, utimensat.
+       * lib/utimens.c (gl_futimens): Use them for nanosecond resolution
+       when available.
+       [HAVE_BUGGY_NFS_TIME_STAMPS]: Allow C89 compilation.
+
+2008-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stpcpy (License): Change to LGPLv2+.
+       Requested by David Lutterkort <dlutter@redhat.com>.
+
+2008-05-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/localename.c (SUBLANG_TIBETAN_BHUTAN): Force value 2. Needed for
+       current mingw.
+       Reported by Jose E. Marchesi <jemarch@gnu.org>.
+
 2008-05-27  Bruno Haible  <bruno@clisp.org>
 
        * modules/iconv_open (Link): New section, from module 'iconv'.