Factor out common code in gl_FUNC_STRTOD.
[gnulib.git] / ChangeLog
index 845bc6e..47fe5b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,232 @@
+2010-06-14  Ben Pfaff  <blp@cs.stanford.edu>
+
+       * m4/strtod.m4 (gl_FUNC_STRTOD): Factor out common code.
+
+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".
+       * tests/test-argp.c (test_optional): Change 5th and 6th argument type
+       to 'const char *'.
+       * tests/test-c-strstr.c (main): Add 'const' to variable declaration.
+       * tests/test-c-strcasestr.c (main): Likewise.
+       * tests/test-mbscasestr1.c (main): Likewise.
+       * tests/test-mbscasestr2.c (main): Likewise.
+       * tests/test-memmem.c (main): Likewise.
+       * tests/test-strstr.c (main): Likewise.
+       * tests/test-strcasestr.c (main): Likewise.
+
+2010-06-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       init.sh: change framework_failure_ to fail with status 99, not 1
+       * tests/init.sh (framework_failure_): Exit 99, not 1.  This informs
+       automake's parallel-tests rule that this is an unexpected failure,
+       even if the test is listed in XFAIL_TESTS.
+
+2010-06-11  Jim Meyering  <meyering@redhat.com>
+
+       test-inttostr: avoid warnings about 4-6KB literal strings
+       * tests/test-inttostr.c: Don't use <assert.h>.  Instead, ...
+       Include "macros.h", for its definition of ASSERT.
+       (CK): s/assert/ASSERT/
+       * modules/inttostr-tests (Files): Add macros.h.
+
+       init.sh: don't use $ME_ or skip_ before they are defined
+       * tests/init.sh: Hoist definitions of $ME_ and skip_ to precede
+       their first uses.  Also hoist their companions: warn_, fail_,
+       framework_failure_, $stderr_fileno.  Prompted by a patch from
+       Stefano Lattarini.
+
+       test-sys_socket: avoid set-but-not-used warnings from gcc
+       * tests/test-sys_socket.c (main): Use "i" and "x", in order to
+       avoid warning about set-but-not-used variables.
+
+       test-xvasprintf: avoid 'const' discard warnings
+       * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use
+       "const" when assigning from literal strings.
+       (test_xasprintf): Add "void" in function argument list to placate
+       -Wstrict-prototypes and to be consistent with test_xvasprintf above.
+
+       tests: avoid compilation warnings in argmatch and exclude tests...
+       in packages that define ARGMATCH_DIE_DECL, like coreutils.
+       * tests/test-exclude.c [ARGMATCH_DIE_DECL]: Also declare the function.
+       Since it always exits, declare with the "noreturn" attribute.
+       * tests/test-argmatch.c: Likewise.
+
+       tests: avoid 'const' discard warnings in mbsstr tests
+       * tests/test-mbsstr1.c (main): Add "const" to avoid trivial warning.
+       * tests/test-mbsstr2.c (main): Likewise.
+
+       test-verify: avoid warning from gcc's -Wmissing-declarations
+       * tests/test-verify.c (function): Declare to be static.
+
+       test-inttostr.c: include <string.h> for use of strcmp
+       * tests/test-inttostr.c: Include <string.h> for strcmp declaration.
+
+       test-linkat: avoid failed assertion on "other" architectures
+       * tests/test-linkat.c: Include <sys/stat.h>, for declarations of stat,
+       lstat, mkdir.  Patch by John Rigby, to fix FTBFS on armel, powerpc,
+       sparc: https://bugs.launchpad.net/bugs/591968
+
+2010-06-11  Jim Meyering  <meyering@redhat.com>
+
+       printf.m4: avoid autoconf's "Expanded Before Required" warning
+       * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE,
+       rather than AC_DEFUN, to avoid the classic "Expanded Before Required"
+       autoconf warning.
+
+2010-06-10  Ben Pfaff  <blp@cs.stanford.edu>
+
+       Replacement header templates are now named with ".in", not "_".
+       * doc/gnulib-intro.texi: Correct.
+
+2010-06-10  Jim Meyering  <meyering@redhat.com>
+
+       inttostr-tests: depend on snprintf, not snprintf-posix
+       * modules/inttostr-tests (Depends-on): Depend on snprintf, not
+       snprintf-posix, to avoid this aclocal failure:
+         missing file gnulib-tests/vasnprintf.c
+         configure.ac:45: error: expected source file, required through \
+         AC_LIBSOURCES, not found
+
+2010-06-10  Jim Meyering  <meyering@redhat.com>
+
+       inttostr: add a new function, inttostr, and tests
+       The namesake function was not available.  The existence of the
+       template file, inttostr.c makes its addition nontrivial.
+       * lib/anytostr.c: Rename from inttostr.c.
+       (anytostr): Rename from inttostr.
+       * lib/inttostr.c: New file.
+       * modules/inttostr (Files): Add anytostr.c.
+       (Makefile.am): Set lib_SOURCES instead of ...
+       * m4/inttostr.m4: Remove uses of AC_LIBOBJ.
+       * lib/imaxtostr.c: Update use.  s/inttostr/anytostr/
+       * lib/offtostr.c: Likewise.
+       * lib/uinttostr.c: Likewise.
+       * lib/umaxtostr.c: Likewise.
+       * modules/inttostr-tests: New file.
+       * tests/test-inttostr.c: New file.  Test these functions.
+
+2010-06-09  Ben Pfaff  <blp@cs.stanford.edu>
+            Bruno Haible  <bruno@clisp.org>
+
+       Add "Extending Gnulib" chapter to manual.
+       * doc/gnulib.texi (Writing Modules): Add cross-reference to new
+       chapter.
+       (Extending Gnulib): New chapter.
+       * doc/gnulib-intro.texi (Openness): Add cross-reference to new
+       chapter.
+
+2010-06-09  Bruno Haible  <bruno@clisp.org>
+
+       Avoid relocwrapper link errors due to gnulib replacement functions.
+       * lib/areadlink.c: Use the system's malloc, realloc functions.
+       (areadlink): Set errno to ENOMEM explicitly.
+       * modules/areadlink (Depends-on): Remove malloc-posix.
+       Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2010-06-09  Bruno Haible  <bruno@clisp.org>
+
+       Avoid relocwrapper link errors due to gnulib replacement functions.
+       * lib/canonicalize-lgpl.c: Use the system's malloc function.
+       * lib/malloca.c: Likewise.
+       * lib/relocatable.c: Likewise.
+       * lib/progreloc.c: Use the system's malloc, sprintf functions.
+       * lib/relocwrapper.c: Use the system's fprintf, malloc functions.
+       * lib/setenv.c: Use the system's malloc, realloc functions.
+       * lib/strerror.c: Use the system's sprintf function.
+       Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2010-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Prefer documented low-level autoconf macro names.
+       * m4/lib-link.m4: Use m4_translit instead of translit.
+       * m4/environ.m4: Likewise.
+       * m4/mathfunc.m4: Likewise.
+       * m4/onceonly.m4: Likewise.
+       * m4/stdint.m4: Likewise.
+       Suggested by Eric Blake.
+
+2010-06-04  Martin Lambers  <marlam@marlam.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       havelib: Allow library names with '+' characters.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+       AC_LIB_FROMPACKAGE, AC_LIB_LINKFLAGS_BODY): Convert '+' in name to '_'.
+
+2010-06-09  Bruno Haible  <bruno@clisp.org>
+
+       Module setenv does not depend on 'malloc-posix', 'realloc-posix'.
+       * lib/setenv.c (__add_to_environ): Set errno to ENOMEM when malloc or
+       realloc failed.
+
+2010-06-08  Peter Simons  <simons@cryp.to>
+
+       maint.mk: make the news-check rule more configurable
+       * top/maint.mk (news-check-lines-spec) New variable.
+       (news-check): Use "sed -n 1,10p" in place of "head".
+
 2010-06-07  Jim Meyering  <meyering@redhat.com>
 
+       do-release-commit-and-tag: fix typo in --help
+       * build-aux/do-release-commit-and-tag (Usage): Fix typo in --help.
+
        regex: avoid new dead-code warning with gcc-4.6.0
        * lib/regex_internal.c (re_string_reconstruct): #if-0-out a dead
        if-block containing a while-loop.  It's been unused for at least