Use modern idiom for malloc() replacement.
[gnulib.git] / ChangeLog
index a64e05c..93e23e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,90 @@
+2010-06-21  Bruno Haible  <bruno@clisp.org>
+
+       Use modern idiom for malloc() replacement.
+       * modules/malloc (configure.ac): Invoke gl_FUNC_MALLOC_GNU instead of
+       AC_FUNC_MALLOC.
+       * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): New macro, mostly copied from
+       Autoconf's AC_FUNC_MALLOC.
+       (gl_FUNC_MALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize
+       HAVE_MALLOC_POSIX. Invoke gl_REPLACE_MALLOC.
+       (gl_REPLACE_MALLOC): New macro.
+       Reported by Richard Lloyd <richard.lloyd@connectinternetsolutions.com>.
+
+2010-06-20  Richard Lloyd  <richard.lloyd@connectinternetsolutions.com>
+
+       stdio.in.h: fix compilation failure when using HP-UX 11's C compiler
+       * lib/stdio.in.h: Remove excess _GL_CXXALIAS_RPL macro argument.
+       This macro takes 3 arguments, not 4.
+
+2010-06-15  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       ipv6: fix detection under mingw
+       * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include <ws2tcpip.h> for struct
+       in6_addr.
+
+2010-06-14  Ben Pfaff  <blp@cs.stanford.edu>
+
+       * m4/strtod.m4 (gl_FUNC_STRTOD): Factor out common code.  Assume
+       that strtod() works when cross-compiling to a glibc version known
+       to work.
+
+2010-06-15  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strtod.m4 (gl_FUNC_STRTOD): Stop using AC_FUNC_STRTOD.
+
+2010-06-15  RenĂ© Berber  <r.berber@computer.org>  (tiny change)
+
+       select: Correct timeout.
+       * lib/select.c (rpl_select): Compute wait_timeout correctly.
+
+2010-06-14  Thien-Thi Nguyen  <ttn@gnuvola.org>  (tiny change)
+
+       git-version-gen: init shell var to avoid env var influence
+       * build-aux/git-version-gen (v): Init shell var to empty.
+
+2010-06-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       priv-set: Don't assume that priv.h exists merely because getppriv does.
+       See Jan Andersen's bug report about AIX 5L in
+       http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00019.html
+       * m4/priv-set.m4 (gl_PRIV_SET): Check for priv.h.
+       * lib/priv-set.c: Do nothing unless HAVE_PRIV_H.
+       * lib/priv-set.h: Likewise.
+       * tests/test-priv-set.c: Likewise.
+
+2010-06-13  Bruno Haible  <bruno@clisp.org>
+
+       relocatable: Make it easier to test whether to install wrappers.
+       * m4/relocatable.m4 (gl_RELOCATABLE_BODY): New automake conditional
+       RELOCATABLE_VIA_WRAPPER.
+
+2010-06-13  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Display specified modules and dependencies differently.
+       * gnulib-tool (func_show_module_list): New function.
+       (func_import, func_create_testdir): Invoke it.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2010-06-13  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Align code of func_import and func_create_testdir.
+       * gnulib-tool (func_create_testdir): Rename variable saved_modules to
+       specified_modules.
+
+2010-06-12  Jim Meyering  <meyering@redhat.com>
+
+       test-inttostr: avoid spurious failure on Solaris 9
+       * tests/test-inttostr.c (main): Skip the test when snprintf fails
+       to accept "%ju".  Reported by Bruno Haible.
+
+2010-06-11  Jim Meyering  <meyering@redhat.com>
+
+       test-sys_socket: mark variables as used more readably
+       * tests/test-sys_socket.c (main): Mark otherwise unused variables
+       as "used" explicitly via (void) statement casts.  This is more
+       readable than using them in an artificial return expression.
+       Suggestion from Bruno Haible.
+
 2010-06-11  Bruno Haible  <bruno@clisp.org>
 
        Avoid some more warnings from "gcc -Wwrite-strings".