X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=06d52799a322061d8749984421e069a2eb64b898;hb=3ac9b4577c78342bdd022b31cf56de2b12f7297b;hp=aa2ac1a0d79d12f60176f859c864c166dff4f3ac;hpb=c1c9ce97bc500c318c09deb07556ede43a4ec3a9;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index aa2ac1a0d..06d52799a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,234 @@ +2010-06-21 Bruno Haible + + Fix HAVE_MALLOC_POSIX misnomer. + * lib/stdlib.in.h (malloc): Use REPLACE_MALLOC instead of + !HAVE_MALLOC_POSIX. + * m4/malloc.m4 (gl_REPLACE_MALLOC): Set REPLACE_MALLOC instead of + HAVE_MALLOC_POSIX. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_MALLOC + instead of HAVE_MALLOC_POSIX. + * modules/stdlib (Makefile.am): Substitute REPLACE_MALLOC instead of + HAVE_MALLOC_POSIX. + + 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 . + +2010-06-20 Richard Lloyd + + 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 + + ipv6: fix detection under mingw + * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include for struct + in6_addr. + +2010-06-14 Ben Pfaff + + * 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 + + * m4/strtod.m4 (gl_FUNC_STRTOD): Stop using AC_FUNC_STRTOD. + +2010-06-15 René Berber (tiny change) + + select: Correct timeout. + * lib/select.c (rpl_select): Compute wait_timeout correctly. + +2010-06-14 Thien-Thi Nguyen (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 + + 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 + + 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 + + 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 . + +2010-06-13 Bruno Haible + + 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 + + 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 + + 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 + + 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 + + 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 + + test-inttostr: avoid warnings about 4-6KB literal strings + * tests/test-inttostr.c: Don't use . 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 for use of strcmp + * tests/test-inttostr.c: Include for strcmp declaration. + + test-linkat: avoid failed assertion on "other" architectures + * tests/test-linkat.c: Include , 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 + + 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 + + Replacement header templates are now named with ".in", not "_". + * doc/gnulib-intro.texi: Correct. + +2010-06-10 Jim Meyering + + 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 + + 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 + Bruno Haible + + 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 + + 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 . + +2010-06-09 Bruno Haible + + 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 . + 2010-06-04 Bruno Haible Prefer documented low-level autoconf macro names.