+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.
+
+2011-09-25 Bruno Haible <bruno@clisp.org>
+
+ fflush et al.: Document limitation on MSVC.
+ * doc/posix-functions/fflush.texi: Document possible crash in handling
+ mode other than DEFAULT_HANDLING.
+ * doc/posix-functions/fgetc.texi: Likewise.
+ * doc/posix-functions/fputc.texi: Likewise.
+ * doc/posix-functions/fread.texi: Likewise.
+ * doc/posix-functions/fwrite.texi: Likewise.
+
+2011-09-25 Bruno Haible <bruno@clisp.org>
+
+ msvc-inval: Allow three invalid parameter handling modes.
+ * lib/msvc-inval.h: Don't include <stdlib.h> here.
+ (DEFAULT_HANDLING, HAIRY_LIBRARY_HANDLING, SANE_LIBRARY_HANDLING): New
+ macros.
+ (gl_msvc_inval_ensure_handler, TRY_MSVC_INVAL, CATCH_MSVC_INVAL,
+ DONE_MSVC_INVAL): Implement DEFAULT_HANDLING. Treat
+ SANE_LIBRARY_HANDLING as a no-op.
+ * lib/msvc-inval.c: Treat SANE_LIBRARY_HANDLING as a no-op. Include
+ <stdlib.h>.
+ (gl_msvc_invalid_parameter_handler): Implement DEFAULT_HANDLING.
+
+2011-09-25 Bruno Haible <bruno@clisp.org>
+
+ msvc-inval: Make handler multithread-safe.
+ * lib/msvc-inval.h (struct gl_msvc_inval_per_thread): New type.
+ (gl_msvc_inval_restart, gl_msvc_inval_restart_valid): Remove
+ declarations.
+ (gl_msvc_inval_current): New declaration.
+ (TRY_MSVC_INVAL, CATCH_MSVC_INVAL, DONE_MSVC_INVAL) [!_MSC_VER]:
+ Operate on the structure returned by gl_msvc_inval_current().
+ * lib/msvc-inval.c (gl_msvc_inval_restart, gl_msvc_inval_restart_valid):
+ Remove varaiables.
+ (tls_index, tls_initialized): New variables.
+ (not_per_thread): New variable.
+ (gl_msvc_inval_current): New function.
+ (gl_msvc_invalid_parameter_handler) [!_MSC_VER]: Use the structure
+ returned by gl_msvc_inval_current().
+
2011-09-25 Bruno Haible <bruno@clisp.org>
msvc-inval: Install handler globally.