useless-if-before-free: Close stdout carefully.
[gnulib.git] / ChangeLog
index 7d64aa0..b6209a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,129 @@
+2008-02-11  Jim Meyering  <meyering@redhat.com>
+
+       * build-aux/useless-if-before-free: Close stdout carefully.
+
+2008-02-10  Bruno Haible  <bruno@clisp.org>
+
+       New module 'git-merge-changelog'.
+       * modules/git-merge-changelog: New file.
+       * lib/git-merge-changelog.c: New file.
+
+2008-02-10  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: New option: --list (-l).
+
+       useless-if-before-free: Don't exit immediately upon open failure.
+       * build-aux/useless-if-before-free: Exit 2 for errors.
+       Upon failure to open a file, don't exit immediately.
+       Rather, just warn and continue with any remaining files.
+
+2008-02-10  Bruno Haible  <bruno@clisp.org>
+
+       New abstract list operation 'node_set_value'.
+       * lib/gl_list.h (gl_list_node_set_value): New function.
+       (struct gl_list_implementation): New field node_set_value.
+       * lib/gl_list.c (gl_list_node_set_value): New function.
+       * lib/gl_array_list.c (gl_array_node_set_value): New function.
+       (gl_array_list_implementation): Update.
+       * lib/gl_carray_list.c (gl_carray_node_set_value): New function.
+       (gl_carray_list_implementation): Update.
+       * lib/gl_anylinked_list2.h (gl_linked_node_set_value): New function.
+       * lib/gl_linked_list.c (gl_linked_list_implementation): Update.
+       * lib/gl_linkedhash_list.c (gl_linkedhash_list_implementation): Update.
+       * lib/gl_anytree_list2.h (gl_tree_node_set_value): New function.
+       * lib/gl_avltree_list.c (gl_avltree_list_implementation): Update.
+       * lib/gl_rbtree_list.c (gl_rbtree_list_implementation): Update.
+       * lib/gl_avltreehash_list.c (gl_avltreehash_list_implementation):
+       Update.
+       * lib/gl_rbtreehash_list.c (gl_rbtreehash_list_implementation): Update.
+       * lib/gl_sublist.c (gl_sublist_node_set_value): New function.
+       (gl_sublist_list_implementation): Update.
+
+2008-02-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/diffseq.h: Write "ELEMENT const" instead of "const ELEMENT".
+       Needed when ELEMENT is #defined to 'some_type *'.
+
+2008-02-10  Jim Meyering  <meyering@redhat.com>
+
+       New script and module: useless-if-before-free
+       * MODULES.html.sh (maint+release support): Add useless-if-before-free.
+       * build-aux/useless-if-before-free: New file.
+       * modules/useless-if-before-free: New file.
+
+       * build-aux/gitlog-to-changelog: Use committer date, not author date.
+
+       xstrtol_error: Fix typo.
+       * lib/xstrtol-error.c (xstrtol_error): The parameter was unused:
+       s/exit_failure/exit_status/.
+
+2008-02-09  Jim Meyering  <meyering@redhat.com>
+
+       New script and module: gitlog-to-changelog
+       * MODULES.html.sh (maint+release support): Add gitlog-to-changelog.
+       * modules/gitlog-to-changelog: New file.
+       * build-aux/gitlog-to-changelog: New file.
+
+2008-02-08  Jim Meyering  <meyering@redhat.com>
+
+       Avoid two "parameter unused" warnings.
+       * lib/stat-time.h (get_stat_birthtime_ns, get_stat_birthtime):
+       Mark "st" as used.
+
+       Use "git COMMAND", not "git-COMMAND".
+       * build-aux/bootstrap (version_controlled_file): s/git-rm/git-rm/.
+       * build-aux/announce-gen (get_tool_versions): Correct a diagnostic.
+       * build-aux/git-version-gen: Use "git status", not "git-status".
+
+2008-02-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
+       Avoids a crash on Windows Vista.
+       Reported by Simon Josefsson <simon@josefsson.org>.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
+       * m4/printf.m4 (gl_PRINTF_FLAG_LEFTADJUST): New macro.
+       * lib/vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST): New macro.
+       (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_FLAG_LEFTADJUST and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Add testcases for the
+       left-adjust flag.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/snprintf.texi: Update.
+       * doc/posix-functions/sprintf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/vsnprintf.texi: Update.
+       * doc/posix-functions/vsprintf.texi: Update.
+       Reported by Peter Fales <psfales@alcatel-lucent.com>.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2008-01-26.
+       * lib/isnan.c (FUNC): Set to rpl_isnand, not rpl_isnan.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2007-06-10.
+       * lib/vasnprintf.c (VASNPRINTF): Perform zero-padding also if
+       !NEED_PRINTF_FLAG_ZERO.
+
 2008-02-05  Peter O'Gorman <pogma@thewrittenword.com>
 
        getloadavg: use libperfstat on AIX5