+2011-10-03 Bruno Haible <bruno@clisp.org>
+
+ wmemchr: Support for MSVC.
+ * m4/wmemchr.m4 (gl_FUNC_WMEMCHR): Use a small test program to test
+ whether wmemchr() exists.
+
+2011-10-03 Bruno Haible <bruno@clisp.org>
+
+ glthread/*, strsignal: Support for MSVC.
+ * lib/glthread/cond.h: Define WIN32_LEAN_AND_MEAN, so as to avoid
+ including <winsock.h> on MSVC 9.
+ * lib/glthread/lock.h: Likewise.
+ * lib/glthread/thread.h: Likewise.
+ * lib/glthread/tls.h: Likewise.
+ * lib/glthread/yield.h: Likewise.
+ * lib/strsignal.c: Include <string.h> first. Don't include <unistd.h>
+ if HAVE_UNISTD_H is false.
+ * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Test for <unistd.h>.
+
+2011-10-03 Bruno Haible <bruno@clisp.org>
+
+ nonblocking tests: Fix test failure on OpenBSD/SPARC64.
+ * tests/test-nonblocking-socket.h (SOCKET_DATA_BLOCK_SIZE) [OpenBSD]:
+ Set to 100000.
+
+2011-10-03 Bruno Haible <bruno@clisp.org>
+
+ acl: Fix specification.
+ * lib/file-has-acl.c (file_has_acl): Fix specification.
+
+2011-10-03 Bruno Haible <bruno@clisp.org>
+
+ relocatable-lib[-lgpl]: Avoid expensive /proc access on Linux, Cygwin.
+ * lib/relocatable.c (ENABLE_COSTLY_RELOCATABLE): New macro.
+ (compute_curr_prefix, shared_library_fullname,
+ find_shared_library_fullname, get_shared_library_fullname, relocate):
+ Use it together with PIC && INSTALLDIR.
+ Reported by <jojelino@gmail.com>
+ via Charles Wilson <cygwin@cwilson.fastmail.fm>.
+
+2011-10-01 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: adjust a release-related rule not to require use of gzip
+ * top/maint.mk (writable-files): Don't hard-code use of .tar.gz.
+ Instead, check each file in $(DIST_ARCHIVES). This is better for
+ projects that build only .tar.xz files. Also fix an erroneous test.
+
+ test-linkat: don't leave behind a temporary file
+ * tests/test-linkat.c (main): Don't forget to remove a temporary file.
+ Otherwise, coreutils' "make distcheck" would fail with this:
+ Only in /c/cu/tests/torture/coreutils/test/\
+ coreutils-8.13.22-d5caf.old/gnulib-tests: test-linkat.too
+ make[2]: *** [my-distcheck] Error 1
+
+ float, math: add omitted file
+ * lib/itold.c: Add file, required for yesterday's float change.
+
+2011-10-01 Bruno Haible <bruno@clisp.org>
+
+ isinf: Fix for OpenBSD/x86.
+ * m4/isinf.m4 (gl_ISINFL_WORKS): Also test the behaviour of isinf on
+ pseudo-NaNs, pseudo-Infinities, and other non-IEEE values.
+ * doc/posix-functions/isinf.texi: Mention the problem on OpenBSD/x86.
+
+2011-10-01 Bruno Haible <bruno@clisp.org>
+
+ isfinite: Fix syntax error in configure test.
+ * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Fix syntax error.
+
+ isfinite: Fix typo.
+ * m4/isfinite.m4 (gl_ISFINITEL_WORKS): When cross-compiling, set
+ gl_cv_func_isfinitel_works, not gl_cv_func_isnanl_works.
+
+2011-10-01 Bruno Haible <bruno@clisp.org>
+
+ nonblocking tests: Fix test failure on Linux/IA-64.
+ * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/IA-64]:
+ Set to 270000.
+
+2011-10-01 Bruno Haible <bruno@clisp.org>
+
+ mkfifoat tests: Fix a test failure on mingw.
+ * tests/test-mkfifoat.c (main): Allow mkfifoat or test_mknodat to fail
+ with error ENOSYS.
+
+2011-09-30 Bruno Haible <bruno@clisp.org>
+
+ float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
+ * m4/float_h.m4 (gl_FLOAT_H): Test conversion from 'int' to
+ 'long double'. Set REPLACE_ITOLD.
+ * lib/float.in.h (_Qp_itoq, _gl_float_fix_itold): New declarations.
+ * lib/math.in.h (_Qp_itoq, _gl_math_fix_itold): New declarations.
+ * lib/itold.c: New file.
+ * modules/float (Files): Add lib/itold.c.
+ (configure.ac): When REPLACE_ITOLD is 1, arrange to compile itold.c.
+ (Makefile.am): Substitute REPLACE_ITOLD.
+ * modules/math (Depends-on): Add float.
+ (Makefile.am): Substitute REPLACE_ITOLD.
+ * doc/posix-headers/float.texi: Mention problem on Linux/SPARC64.
+ * doc/posix-headers/math.texi: Likewise.
+ * doc/posix-functions/logl.texi: Likewise.
+
+2011-09-30 Bruno Haible <bruno@clisp.org>
+
+ nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit).
+ * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/SPARC]:
+ Set to 140000.
+
+2011-09-30 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Improve suggestion where to put gl_EARLY invocation.
+ * gnulib-tool (func_import): If the configure.ac has an AC_PROG_CC_STDC
+ invocation, say "right after AC_PROG_CC_STDC", not "right after
+ AC_PROG_CC".
+ Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2011-09-30 Bruno Haible <bruno@clisp.org>
+
+ Centralize C99 requirement.
+ * m4/gnulib-common.m4 (gl_PROG_CC_C99): New macro.
+ * modules/stdarg (configure.ac-early): Invoke it instead of
+ AC_PROG_CC_STDC.
+ Reported by Gary V. Vaughan and Paul Eggert.
+
+2011-09-29 Bruno Haible <bruno@clisp.org>
+
+ float: Fix LDBL_MAX value on Linux/PowerPC.
+ * m4/float_h.m4 (gl_FLOAT_H): Set FLOAT_H and REPLACE_FLOAT_LDBL also
+ on Linux/PowerPC.
+ * lib/float.in.h (LDBL_MAX): Redefine also on Linux/PowerPC.
+ * lib/float.c (gl_LDBL_MAX): Also define on Linux/PowerPC.
+ * doc/posix-headers/float.texi: Mention Linux/PowerPC as an affected
+ platform.
+ Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
+
+2011-09-29 Bruno Haible <bruno@clisp.org>
+
+ doc: Improve doc about gl_EARLY.
+ * doc/gnulib-tool.texi (Initial import): Mention where to place an
+ AC_PROG_CC_STDC invocation.
+ Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2011-09-28 Bruno Haible <bruno@clisp.org>
+
+ fgetc, fputc, fread, fwrite tests: Fix link error.
+ * tests/test-fgetc.c (main): Don't invoke gl_msvc_inval_ensure_handler
+ on non-MSVC platforms.
+ * tests/test-fputc.c (main): Likewise.
+ * tests/test-fread.c (main): Likewise.
+ * tests/test-fwrite.c (main): Likewise.
+ Reported by Jim Meyering.
+
+2011-09-27 Bruno Haible <bruno@clisp.org>
+
+ fputc, fwrite tests: Avoid test failure on MSVC.
+ * tests/test-fgetc.c: Include msvc-inval.h.
+ (main): Invoke gl_msvc_inval_ensure_handler.
+ * tests/test-fputc.c: Include msvc-inval.h.
+ (main): Invoke gl_msvc_inval_ensure_handler.
+ * tests/test-fread.c: Include msvc-inval.h.
+ (main): Invoke gl_msvc_inval_ensure_handler.
+ * tests/test-fwrite.c: Include msvc-inval.h.
+ (main): Invoke gl_msvc_inval_ensure_handler.
+ * modules/fgetc-tests (Depends-on): Add msvc-inval.
+ * modules/fputc-tests (Depends-on): Likewise.
+ * modules/fread-tests (Depends-on): Likewise.
+ * modules/fwrite-tests (Depends-on): Likewise.
+
+2011-09-27 Bruno Haible <bruno@clisp.org>
+
+ raise: Fix double declaration with modules 'sigprocmask' and 'sigpipe'.
+ * lib/signal.in.h (GNULIB_defined_signal_blocking): New macro.
+ (raise): Remove older, duplicated declaration.
+ (_gl_raise_SIGPIPE): New declaration.
+ * lib/sigprocmask.c (_gl_raise_SIGPIPE): New function.
+ (rpl_raise): Remove function.
+ * lib/raise.c (rpl_raise, raise): Merge into a single function. Handle
+ a gnulib-defined SIGPIPE here.
+ * m4/raise.m4 (gl_FUNC_RAISE): Set REPLACE_RAISE also if the module
+ 'sigprocmask' has detected missing signal-blocking and the module
+ 'sigpipe' is enabled.
+ Reported by Tatsuro MATSUOKA <tmacchant5@yahoo.co.jp>.
+
+2011-09-26 Gijs van Tulder <gvtulder@gmail.com>
+
+ base64-tests: avoid memory leak
+ * tests/test-base64.c (main): Plug memory leak.
+
+ base32: new module
+ * modules/base32: New module.
+ * lib/base32.c: New file.
+ * lib/base32.h: Likewise.
+ * m4/base32.m4: Likewise.
+ * modules/base32-tests: New test.
+ * tests/test-base32.c: Likewise.
+ * MODULES.html.sh (Misc): Mention it.
+
+2011-09-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ gnulib: use more-standard license notice wording
+ * gnulib-tool (func_emit_copyright_notice): When emitting a
+ license notice into a file, use the standard wording as suggested
+ by the current information for GNU maintainers, except say "file"
+ rather than "program". The new wording gives a license version
+ number, which addresses an issue raised by Glenn Morris in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
+ * m4/onceonly.m4: Use that same wording here, too.
+
+ dup2: minor simplification
+ * m4/dup2.m4 (gl_PREREQ_DUP2): Don't require AC_C_INLINE,
+ as lib/dup2.c no longer uses 'inline'.
+
+2011-09-25 Bruno Haible <bruno@clisp.org>
+
+ strings: Fix compilation error on MSVC.
+ * lib/strings.in.h: Include <stddef.h> for size_t.
+