useless-if-before-free: efficiency tweak
[gnulib.git] / ChangeLog
index 95c58ec..6efdd2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,101 @@
+2008-05-25  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: efficiency tweak
+       * build-aux/useless-if-before-free: Make the expression-matching
+       regexp "shy".
+
+       update code-in-comment to accept cast of free arg
+       * build-aux/useless-if-before-free: Update regexp.
+
+2008-05-25  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-sameacls.c: Renamed from tests/test-copy-file-sameacls.c.
+       * modules/copy-file-tests (Files, Makefile.am): Update.
+       * tests/test-copy-file.c (func_test_copy): Update.
+
+2008-05-24  Andreas Färber  <andreas.faerber@web.de>  (tiny change)
+
+       * lib/stdbool.in.h [__HAIKU__]: Disable __BEOS__ workarounds.
+
+2008-05-23  Bruno Haible  <bruno@clisp.org>
+
+       Improve support for ACLs on OSF/1.
+       * lib/acl.c (qset_acl): For OSF/1, use a string that ends in a comma.
+       Remove fallback for unknown flavors of ACLs.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+       Add support for ACLs on OSF/1.
+       * lib/acl-internal.h (acl_get_fd, acl_set_fd): New inline function
+       replacements.
+       (acl_free_text): New macro fallback.
+       * lib/acl_entries.c (acl_entries): Use acl_free_text instead of
+       acl_free.
+       * m4/acl.m4 (gl_FUNC_ACL): Look also in libpacl library. Test for
+       acl_free_text function. Require AC_C_INLINE.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+       Make copy_acl work on MacOS X 10.5.
+       * lib/acl-internal.h (MODE_INSIDE_ACL): New macro.
+       (ACL_NOT_WELL_SUPPORTED): On MacOS X, also handle ENOENT.
+       * lib/acl.c (qset_acl): Add different code branch for !MODE_INSIDE_ACL.
+       If MODE_INSIDE_ACL, don't assume that every system has the same text
+       representation for ACLs as FreeBSD.
+       * lib/copy-acl.c (copy_acl): Add support for platforms with
+       !MODE_INSIDE_ACL.
+       * lib/file-has-acl.c (file_has_acl): Likewise.
+       * m4/acl.m4 (gl_FUNC_ACL): Test for some functions that are witness of
+       FreeBSD, MacOS X, or IRIX, respectively.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl.h: Don't include <sys/acl.h>.
+       (GETACLCNT): Move fallback to lib/acl-internal.h.
+       * lib/acl-internal.h: Include <sys/acl.h> here.
+       (GETACLCNT): New macro fallback, moved here from lib/acl.h.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+       Split off copy_acl function to separate file.
+       * lib/copy-acl.c: New file, extracted from lib/acl.c.
+       * lib/acl.c (copy_acl): Moved function to separate file.
+       * m4/acl.m4 (gl_FUNC_ACL): Remove unconditional AC_LIBOBJs.
+       * modules/acl (Files): Add lib/copy-acl.c.
+       (Makefiles.am): Augment lib_SOURCES.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/copy-file-tests: New file.
+       * tests/test-copy-file.sh: New file.
+       * tests/test-copy-file.c: New file.
+       * tests/test-copy-file-sameacls.c: New file.
+
+2008-05-22  Eric Blake  <ebb9@byu.net>
+
+       Avoid gcc warning.
+       * tests/test-memcmp.c (main): Pass NULL indirectly.
+
+2008-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Add reference doc about ACLs.
+       * doc/acl-resources.txt: New file.
+       * doc/acl-cygwin.txt: New file.
+
+2008-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Avoid one more warning from gcc.
+       * lib/vasnprintf.c (IF_LINT): Update comments.
+       (VASNPRINTF): Use it also for the 'prefix' array initializer.
+
+2008-05-21  Jim Meyering  <meyering@redhat.com>
+
+       avoid a warning from gcc
+       * lib/vasnprintf.c (IF_LINT): Define.
+       (scale10_round_decimal_long_double):
+       Use it to avoid a "may be used uninitialized" warning.
+       (scale10_round_decimal_double): Likewise.
+
 2008-05-21  Simon Josefsson  <simon@josefsson.org>
 
        * m4/memcmp.m4: When cross-compiling, assume memcmp works if it is