+2008-05-10 Bruno Haible <bruno@clisp.org>
+
+ * modules/unilbrk/u32-width-linebreaks-tests: New file.
+ * tests/unilbrk/test-u32-width-linebreaks.c: New file.
+
+ * modules/unilbrk/u16-width-linebreaks-tests: New file.
+ * tests/unilbrk/test-u16-width-linebreaks.c: New file.
+
+ * modules/unilbrk/u8-width-linebreaks-tests: New file.
+ * tests/unilbrk/test-u8-width-linebreaks.c: New file.
+
+ * modules/unilbrk/ulc-possible-linebreaks-tests: New file.
+ * tests/unilbrk/test-ulc-possible-linebreaks.c: New file.
+
+ * modules/unilbrk/u32-possible-linebreaks-tests: New file.
+ * tests/unilbrk/test-u32-possible-linebreaks.c: New file.
+
+ * modules/unilbrk/u16-possible-linebreaks-tests: New file.
+ * tests/unilbrk/test-u16-possible-linebreaks.c: New file.
+
+ * modules/unilbrk/u8-possible-linebreaks-tests: New file.
+ * tests/unilbrk/test-u8-possible-linebreaks.c: New file.
+
+2008-05-10 Bruno Haible <bruno@clisp.org>
+
+ Split up 'linebreak' module.
+ * lib/unilbrk.h: New file, based on lib/linebreak.h.
+ * lib/unilbrk/lbrkprop1.h: New file, extracted from lib/lbrkprop.h.
+ * lib/unilbrk/lbrkprop2.h: New file, renamed from lib/lbrkprop.h with
+ modifications.
+ * lib/unilbrk/tables.h: New file, extracted from lib/linebreak.c.
+ * lib/unilbrk/tables.c: New file, extracted from lib/linebreak.c.
+ * lib/unilbrk/u8-possible-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/u16-possible-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/u32-possible-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/ulc-common.h: New file, extracted from lib/linebreak.c.
+ * lib/unilbrk/ulc-common.c: New file, extracted from lib/linebreak.c.
+ * lib/unilbrk/ulc-possible-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/u8-width-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/u16-width-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/u32-width-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * lib/unilbrk/ulc-width-linebreaks.c: New file, extracted from
+ lib/linebreak.c.
+ * modules/unilbrk/base: New file.
+ * modules/unilbrk/tables: New file.
+ * modules/unilbrk/u8-possible-linebreaks: New file.
+ * modules/unilbrk/u16-possible-linebreaks: New file.
+ * modules/unilbrk/u32-possible-linebreaks: New file.
+ * modules/unilbrk/ulc-common: New file.
+ * modules/unilbrk/ulc-possible-linebreaks: New file.
+ * modules/unilbrk/u8-width-linebreaks: New file.
+ * modules/unilbrk/u16-width-linebreaks: New file.
+ * modules/unilbrk/u32-width-linebreaks: New file.
+ * modules/unilbrk/ulc-width-linebreaks: New file.
+ * lib/linebreak.h: Remove file.
+ * lib/linebreak.c: Remove file.
+ * m4/linebreak.m4: Remove file.
+ * modules/linebreak: Remove file.
+ * NEWS: Mention the changes.
+
+2008-05-09 Eric Blake <ebb9@byu.net>
+
+ Add xmemdup0.
+ * lib/xalloc.h (xmemdup0): New prototype and C++ typesafe
+ implementation.
+ * lib/xmalloc.c (xmemdup0): New C implementation.
+
+2008-05-08 Bruno Haible <bruno@clisp.org>
+
+ * m4/wctype.m4 (gl_WCTYPE_H): Correct indentation.
+
+2008-05-07 Eric Blake <ebb9@byu.net>
+
+ Support cross-compilation of <wctype.h>.
+ * m4/wctype.m4 (gl_WCTYPE_H): Fix improper nesting in
+ AC_CACHE_CHECK.
+
+2008-05-06 Soren Hansen <soren@ubuntu.com> (tiny change)
+
+ * build-aux/vc-list-files: Add support for bzr.
+
+2008-05-03 Jim Meyering <meyering@redhat.com>
+
+ avoid failed assertion with tight malloc
+ * tests/test-getndelim2.c: Correct an off-by-one assertion.
+
+2008-05-03 Simon Josefsson <simon@josefsson.org>
+
+ * m4/inet_pton.m4: Set HAVE_DECL_INET_PTON to 0 when declarations
+ are needed from arpa/inet.h.
+ * m4/inet_ntop.m4: Likewise, for HAVE_DECL_INET_NTOP.
+ Reported by Bruno Haible.
+
+2008-05-02 Jim Meyering <meyering@redhat.com>
+
+ avoid compilation error on FreeBSD 6
+ * tests/test-getaddrinfo.c [!defined EAI_NODATA] (EAI_NODATA): Define.
+
+2008-05-01 Jim Meyering <meyering@redhat.com>
+
+ useless-if-before-free: correct --help's exit status description
+ * build-aux/useless-if-before-free (usage): Like grep, exit 0
+ for one or more matches, etc. Reported by Bruno Haible.
+
+ vc-list-files: make the stand-alone gnulib test work
+ * modules/vc-list-files-tests (configure.ac):
+ Define and AC_SUBST abs_aux_dir.
+ (Makefile.am) [TESTS_ENVIRONMENT]: Rather than passing
+ $(abs_top_srcdir) to each script and having each of them
+ duplicate the work of setting PATH, set PATH here, using
+ the new variable, abs_aux_dir instead.
+ * tests/test-vc-list-files-cvs.sh: Don't set PATH here.
+ * tests/test-vc-list-files-git.sh: Likewise.
+ Reported by Bruno Haible.
+
+2008-05-01 Bruno Haible <bruno@clisp.org>
+
+ * lib/getndelim2.c (getndelim2): Fix newsize computation during
+ reallocation. Rename 'done' to 'found_delimiter'.
+
+2008-05-01 Jim Meyering <meyering@redhat.com>
+
+ vc-list-files: accommodate /bin/sh like the one from Solaris 10
+ * build-aux/vc-list-files: Use `...`, not $(...).
+
+2008-04-30 Jim Meyering <meyering@redhat.com>
+
+ add tests for vc-list-files
+ * modules/vc-list-files-tests: New module.
+ * tests/test-vc-list-files-cvs.sh: New file.
+ * tests/test-vc-list-files-git.sh: New file.
+
+ avoid a warning from gcc
+ * lib/getndelim2.c (IF_LINT): Define.
+ (getndelim2): Use it to void a "may be used uninitialized" warning.
+
+ vc-list-files: work properly with build-aux/cvsu, too
+ * build-aux/vc-list-files: Hoist the "./"-removing code to apply
+ to all cvs-based clauses.
+
+ vc-list-files: work properly in the CVS+awk case, too
+ * build-aux/vc-list-files: In the CVS+awk case, remove "./" prefix.
+
+ vc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash
+ * build-aux/vc-list-files: Simplify ${*-*} to $dir, since we no longer
+ take more than one file argument, so . Add quotes, just in case $dir
+ ever contains a shell meta-character. Prompted by Soren Hansen in
+ <http://thread.gmane.org/gmane.comp.emulators.libvirt/6221/focus=6240>.
+
+2008-04-29 Eric Blake <ebb9@byu.net>
+
+ Optimize getndelim2 to use block operations when possible.
+ * modules/getndelim2 (Depends-on): Add stdbool, freadptr,
+ freadseek, and memchr2.
+ * lib/getndelim2.c (getndelim2): Use them for block reads.
+
+2008-04-29 Bruno Haible <bruno@clisp.org>
+
+ * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_USE_SYSTEM_EXTENSIONS.
+ * m4/inet_pton.m4 (gl_INET_PTON): Likewise.
+ * modules/inet_ntop (Depends-on): Add extensions.
+ * modules/inet_pton (Depends-on): Likewise.
+ Reported by Simon Josefsson.
+
+2008-04-29 Jim Meyering <meyering@redhat.com>
+
+ When the is more than one match in a block, match all of them.
+ * build-aux/useless-if-before-free: Iterate through each block
+ until there are no more matches.
+
+ Fix broken useless-if-before-free script.
+ * build-aux/useless-if-before-free: Fix typo: missing "?" after
+ the expression to match cast of argument to free-like function.
+
+2008-04-29 Eric Blake <ebb9@byu.net>
+
+ Use new header.
+ * lib/getaddrinfo.c (includes): s/"inet_ntop.h"/<arpa/inet.h>/.
+
+2008-04-29 Jim Meyering <meyering@redhat.com>
+
+ Avoid test segfault on x86_64 due to lack of inet_ntop declaration.
+ * tests/test-getaddrinfo.c: Include <arpa/inet.h>, now guaranteed
+ by gnulib to exist and to declare e.g., inet_ntop.
+ Don't include "inet_ntop.h", now removed.
+
+ * m4/arpa_inet_h.m4: Remove trailing blanks.
+
+2008-04-29 Eric Blake <ebb9@byu.net>
+
+ Silence valgrind on safe reads beyond potential array bounds.
+ * lib/rawmemchr.valgrind: New file.
+ * lib/strchrnul.valgrind: Likewise.
+ * modules/rawmemchr (Files): Distribute new file.
+ * modules/strchrnul (Files): Likewise.
+ Suggested by Bruno Haible.
+
+2008-04-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/arpa_inet.in.h: Include system's <arpa/inet.h> if it exists.
+ (inet_ntop, inet_pton): Change portability warning's wording.
+ * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Set HAVE_ARPA_INET_H.
+ Invoke gl_CHECK_NEXT_HEADERS.
+ (gl_ARPA_INET_H_DEFAULTS): Initialize ARPA_INET_H.
+ * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_ARPA_INET_H_DEFAULTS and
+ set ARPA_INET_H.
+ * m4/inet_pton.m4 (gl_INET_PTON): Likewise.
+ * modules/arpa_inet (Description): No longer only for systems that
+ lack it.
+ (Depends-on): Add include_next.
+ (Makeile.am): Substitute INCLUDE_NEXT, NEXT_ARPA_INET_H,
+ HAVE_ARPA_INET_H.
+
+2008-04-29 Jim Meyering <meyering@redhat.com>
+
+ * modules/mkdir (License): Re-license as LGPLv2+.
+
+2008-04-29 Bruno Haible <bruno@clisp.org>
+
+ * modules/rawmemchr (Maintainer): Set to Eric.
+ * modules/strchrnul (Maintainer): Likewise.
+
+2008-04-29 Simon Josefsson <simon@josefsson.org>
+
+ * m4/arpa_inet_h.m4 (gl_ARPA_INET_H_DEFAULTS): Set
+ HAVE_DECL_INET_NTOP and HAVE_DECL_INET_PTON.
+
+ * modules/arpa_inet (arpa/inet.h): Use them.
+
+2008-04-28 Eric Blake <ebb9@byu.net>
+
+ Test getndelim2.
+ * modules/getndelim2-tests: New file.
+ * tests/test-getndelim2.c: Likewise.
+ * lib/getndelim2.c (getndelim2): Never return 0. Lock the
+ stream.
+ * m4/getndelim2.m4 (gl_GETNDELIM2): Check for lock functions.
+
+ * MODULES.html.sh: Document new module.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/c-stack.c (die): Use raise.
+ * modules/c-stack (Depends-on): Add raise.
+
+2008-04-28 Bruno Haible <bruno@clisp.org>
+
+ Expect rpmatch to be declared.
+ * lib/yesno.c (rpmatch): Remove declaration.
+
+ Declare rpmatch.
+ * lib/stdlib.in.h (rpmatch): New declaration.
+ * lib/rpmatch.c: Include <stdlib.h> first.
+ * m4/rpmatch.m4 (gl_FUNC_RPMATCH): Require AC_USE_SYSTEM_EXTENSIONS and
+ gl_STDLIB_H_DEFAULTS. Set HAVE_RPMATCH.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RPMATCH,
+ HAVE_RPMATCH.
+ * modules/rpmatch (Depends-on): Add stdlib, extensions.
+ (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+ (Include): Set to <stdlib.h>.
+ * modules/stdlib (Makefile.am): Substitute GNULIB_RPMATCH and
+ HAVE_RPMATCH.
+ * NEWS: Document the change.
+
+2008-04-28 Bruno Haible <bruno@clisp.org>
+
+ Change rpmatch to use nl_langinfo when appropriate.
+ * lib/rpmatch.c: Include stdbool.h, string.h, langinfo.h.
+ (N_): New macro.
+ (localized_pattern): New function/macro.
+ (try): Remove match, nomatch arguments. Copy the pattern into safe
+ memory before caching it.
+ (rpmatch): Use localized_pattern. Add translator comments.
+ * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Test for nl_langinfo and YESEXPR.
+ Suggested by Eric Blake.
+ * modules/rpmatch (Depends-on): Add stdbool.
+
+2008-04-28 Eric Blake <ebb9@byu.net>
+
+ Add rawmemchr module, matching glibc.
+ * modules/string (Makefile.am): New indicator.
+ * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
+ * lib/string.in.h (rawmemchr): Declare when appropriate.
+ * modules/rawmemchr: New file.
+ * m4/rawmemchr.m4: Likewise.
+ * lib/rawmemchr.c: Likewise.
+ * modules/rawmemchr-tests: Likewise.
+ * tests/test-rawmemchr.c: Likewise.
+ * doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
+ module.
+ * modules/strchrnul (Depends-on): Add rawmemchr.
+ * lib/strchrnul.c (strchrnul): Optimize a corner case.
+
+ Whitespace cleanup.
+ * tests/test-strchrnul.c: Reindent.
+ * lib/strchrnul.c: Likewise.
+
+ Optimize and test strchrnul.
+ * lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
+ * modules/strchrnul-tests: New file.
+ * tests/test-strchrnul.c: Likewise.
+
+ Remove intprops dependency.
+ * modules/memchr (Depends-on): Remove intprops.
+ * modules/memrchr (Depends-on): Likewise.
+ * modules/memchr2 (Depends-on): Likewise.
+ * lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check.
+ * lib/memrchr.c (__memrchr): Likewise.
+ * lib/memrchr2.c (memchr2): Likewise.
+ Reported by Simon Josefsson.
+
+2008-04-28 Simon Josefsson <simon@josefsson.org>
+
+ * m4/sys_socket_h.m4: Move AC_REQUIRE([AC_C_INLINE]) to top.
+ Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2008-04-28 Simon Josefsson <simon@josefsson.org>
+
+ * lib/inet_ntop.h, lib/inet_pton.h: Remove files.
+
+ * lib/inet_ntop.c: Include arpa/inet.h instead of inet_ntop.h.
+
+ * lib/inet_pton.c: Include arpa/inet.h instead of inet_pton.h.
+
+ * lib/arpa_inet.in.h [@GNULIB_INET_NTOP@]: Inline inet_ntop.h
+ declarations.
+ [@GNULIB_INET_PTON@]: Inline inet_pton.h declarations.
+
+ * m4/inet_pton.m4: Don't check for header files.
+
+ * m4/inet_ntop.m4: Don't check for header files.
+
+2008-04-28 Simon Josefsson <simon@josefsson.org>
+
+ * m4/sys_socket_h.m4: Require AC_C_INLINE when necessary.
+ * lib/sys_socket.in.h (setsockopt): Use proper win32 tests (don't
+ trigger for cygwin).
+ Reported by Bruno Haible <bruno@clisp.org>.
+
+2008-04-28 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-functions/strdup.texi: Mention mingw problem.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ * modules/stat-time-tests (Depends-on): Add sleep.
+ * tests/test-stat-time.c (force_unlink): New function.
+ (cleanup): Use it.
+ (test_mtime): Remove the ctime related tests.
+ (test_ctime): New function, containing the ctime related tests.
+ (main): Call test_ctime, except on native Windows platforms.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ * lib/rpmatch.c (rpmatch): Add some comments.
+ Reported by James Youngman <jay@gnu.org>.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Also test the behaviour on
+ quiet NaNs.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ Make test-yesno.sh work on mingw.
+ * tests/test-yesno.sh: Postprocess the output to convert CR/LF to LF.
+ * tests/test-yesno.c: Include yesno.h first. Include binary-io.h.
+ (main): Set stdin to binary mode.
+ * modules/yesno-tests (Depends-on): Add binary-io.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ Fix 'isfinite' on x86, x86_64, ia64 platforms.
+ * tests/test-isfinite.c (test_isfinitel): Also test the behavior on
+ argument that lie outside the IEEE 854 domain.
+ * m4/isfinite.m4 (gl_ISFINITEL_WORKS): New macro.
+ (gl_ISFINITE): Use it.
+ * doc/posix-functions/isfinite.texi: Document the fixed bugs.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ Allow local renaming in config.h.
+ * lib/memrchr.c (memrchr): Don't undefine outside libc.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
+ * lib/memchr.c (__memchr): Change type of 'i'.
+ * lib/memchr2.c (memchr2): Likewise.
+
+2008-04-26 Eric Blake <ebb9@byu.net>
+ and Bruno Haible <bruno@clisp.org>
+
+ Optimize and test memrchr.
+ * modules/memrchr (Depends-on): Add intprops.
+ * lib/memrchr.c (__memrchr): Avoid false positives in loop.
+ * modules/memrchr-tests: New file.
+ * tests/test-memrchr.c: New file.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ Add tentative support for DragonFly BSD.
+ * lib/stdio-impl.h: Add macros for DragonFly BSD.
+ * lib/fbufmode.c (fbufmode): Update conditionals. Use fp_ instead of
+ fp.
+ * lib/fflush.c (clear_ungetc_buffer, disable_seek_optimization,
+ restore_seek_optimization, update_fpos_cache, rpl_fflush: Likewise.
+ * lib/fpurge.c (fpurge): Likewise.
+ * lib/freadable.c (freaadable): Likewise.
+ * lib/freadahead.c (freadahead): Likewise.
+ * lib/freading.c (freading): Likewise.
+ * lib/freadptr.c (freadptr): Likewise.
+ * lib/freadseek.c (freadptrinc): Likewise.
+ * lib/fseeko.c (fseeko): Likewise.
+ * lib/fseterr.c (fseterr): Likewise.
+ * lib/fwritable.c (fwritable): Likewise.
+ * lib/fwriting.c (fwriting): Likewise.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdio-impl.h: New file.
+ * lib/fbufmode.c: Include stdio-impl.h.
+ (fbufmode): Use fp_, remove redundant #defines.
+ * lib/fflush.c: Include stdio-impl.h.
+ (clear_ungetc_buffer): Remove redundant #defines.
+ * lib/fpurge.c: Include stdio-impl.h.
+ (fpurge): Remove redundant #defines.
+ * lib/freadable.c: Include stdio-impl.h.
+ (freadable): Remove redundant #defines.
+ * lib/freadahead.c: Include stdio-impl.h.
+ (freadahead): Remove redundant #defines.
+ * lib/freading.c: Include stdio-impl.h.
+ (freading): Remove redundant #defines.
+ * lib/freadptr.c: Include stdio-impl.h.
+ (freadptr): Remove redundant #defines.
+ * lib/freadseek.c: Include stdio-impl.h.
+ (freadptrinc): Remove redundant #defines.
+ * lib/fseeko.c: Include stdio-impl.h.
+ (rpl_fseeko): Remove redundant #defines.
+ * lib/fseterr.c: Include stdio-impl.h.
+ (fseterr): Remove redundant #defines.
+ * lib/fwritable.c: Include stdio-impl.h.
+ (fwritable: Remove redundant #defines.
+ * lib/fwriting.c: Include stdio-impl.h.
+ (fwriting): Remove redundant #defines.
+ * modules/fbufmode (Files): Add lib/stdio-impl.h.
+ * modules/fflush (Files): Likewise.
+ * modules/fpurge (Files): Likewise.
+ * modules/freadable (Files): Likewise.
+ * modules/freadahead (Files): Likewise.
+ * modules/freading (Files): Likewise.
+ * modules/freadptr (Files): Likewise.
+ * modules/freadseek (Files): Likewise.
+ * modules/fseeko (Files): Likewise.
+ * modules/fseterr (Files): Likewise.
+ * modules/fwritable (Files): Likewise.
+ * modules/fwriting (Files): Likewise.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ * lib/fflush.c (clear_ungetc_buffer, disable_seek_optimization,
+ restore_seek_optimization, update_fpos_cache): New functions, extracted
+ from rpl_fflush.
+ (rpl_fflush): Use them.
+ * m4/fflush.m4 (gl_PREREQ_FFLUSH): New macro.
+ (gl_REPLACE_FFLUSH): Use it.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-xstrtol.sh: Work around limitation of an old 'tr' program
+ on Solaris.
+ * tests/test-xstrtoimax.sh: Likewise.
+ * tests/test-xstrtoumax.sh: Likewise.
+ Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ * modules/memchr-tests: New file.
+ * tests/test-memchr.c; New file, based on tests/test-memchr2.c.
+
+2008-04-26 Eric Blake <ebb9@byu.net>
+ Bruno Haible <bruno@clisp.org>
+
+ * lib/memchr.c: Include intprops.h.
+ (__memchr): Optimize parallel detection of matching bytes. Rename local
+ variables. Add explanatory comments.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ Fix module 'memchr', broken since 2000-10-28.
+ * lib/memchr.c: Outside glibc, define memchr, not __memchr.
+
+2008-04-26 Bruno Haible <bruno@clisp.org>
+
+ * lib/memchr2.c (memchr2): Rename local variables. Add explanatory
+ comments.
+
+2008-04-25 Eric Blake <ebb9@byu.net>
+
+ Use native fstatat on cygwin 1.7.0.
+ * m4/openat.m4 (gl_FUNC_OPENAT): Make sure lstat check is made
+ first.
+
+2008-04-23 Eric Blake <ebb9@byu.net>
+
+ Improve memchr2 performance.
+ * lib/memchr2.c (memchr2): Further optimize parallel detection of
+ NUL bytes.
+ * modules/memchr2 (Depends-on): Use intprops.h.
+
+2008-04-23 Simon Josefsson <simon@josefsson.org>
+
+ * lib/sys_socket.in.h (setsockopt): Be more type safe by declaring
+ an inline function instead of a CPP macro. Patch by Ben Pfaff
+ <blp@cs.stanford.edu>.
+
+2008-04-23 Simon Josefsson <simon@josefsson.org>
+
+ * lib/arpa_inet.in.h: New file.
+
+ * modules/arpa_inet (Files): Add lib/arpa_inet.in.h.
+ (Makefile.am): Sed in substitute header file.
+
+ * m4/arpa_inet_h.m4: Add gl_ARPA_INET_H_DEFAULTS and
+ gl_ARPA_INET_MODULE_INDICATOR. Use them.
+
+ * modules/inet_ntop (configure.ac): Use
+ gl_ARPA_INET_MODULE_INDICATOR.
+
+ * modules/inet_pton (configure.ac): Use
+ gl_ARPA_INET_MODULE_INDICATOR.
+
+2008-04-22 Jim Meyering <meyering@redhat.com>
+
+ * modules/verify (License): Re-license as LGPLv2+.
+
+2008-04-22 Simon Josefsson <simon@josefsson.org>
+
+ * lib/sys_socket.in.h: Define setsockopt macro to cast fourth
+ parameter to void* as per POSIX standard (MinGW uses char*).
+
+2008-04-21 Bruno Haible <bruno@clisp.org>
+
+ * lib/wctype.in.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit,
+ iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit):
+ Define to replacements if REPLACE_ISWCNTRL is 1.
+ * m4/wctype.m4 (gl_WCTYPE_H): Test whether the isw* functions work.
+ If not, set WCTYPE_H to nonempty and REPLACE_ISWCNTRL to 1.
+ * modules/wctype (Makefile.am): Substitute REPLACE_ISWCNTRL.
+ * doc/posix-functions/iswalnum.texi: Mention the 'wctype' module and
+ what it fixes.
+ * doc/posix-functions/iswalpha.texi: Likewise.
+ * doc/posix-functions/iswblank.texi: Likewise.
+ * doc/posix-functions/iswcntrl.texi: Likewise.
+ * doc/posix-functions/iswdigit.texi: Likewise.
+ * doc/posix-functions/iswgraph.texi: Likewise.
+ * doc/posix-functions/iswlower.texi: Likewise.
+ * doc/posix-functions/iswprint.texi: Likewise.
+ * doc/posix-functions/iswpunct.texi: Likewise.
+ * doc/posix-functions/iswspace.texi: Likewise.
+ * doc/posix-functions/iswupper.texi: Likewise.
+ * doc/posix-functions/iswxdigit.texi: Likewise.
+ Reported by Alain Guibert.
+
+2008-04-21 Bruno Haible <bruno@clisp.org>
+
+ * m4/vsnprintf.m4 (gl_FUNC_VSNPRINTF): Fix typo in last commit.
+ Patch by Alain Guibert.
+
+2008-04-21 Bruno Haible <bruno@clisp.org>
+
+ Fix test failures on mingw.
+ * tests/test-xstrtol.c (print_no_progname): New function.
+ (main): Install it in error_print_progname hook.
+ * tests/test-xstrtol.sh: Convert CR/LF to NL in output.
+ * tests/test-xstrtoimax.sh: Likewise.
+ * tests/test-xstrtoumax.sh: Likewise.
+
+2008-04-21 Bruno Haible <bruno@clisp.org>
+
+ Fix test failure on mingw.
+ * tests/test-argp-2.sh (func_compare): Remove CRs from sed's output.
+
+2008-04-21 Bruno Haible <bruno@clisp.org>
+
+ * lib/localename.c (SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN):
+ Actually assign a value.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl',
+ take 2.
+ * lib/canonicalize.c (canonicalize_file_name): Elide if the
+ 'canonicalize-lgpl' module is also used.
+ * lib/canonicalize-lgpl.c: Undo last change.
+ * modules/canonicalize-lgpl (configure.ac): Invoke gl_MODULE_INDICATOR.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/mkdir.c (mkdir): Undefine after the includes, not right after
+ config.h. Provide _mkdir based fallback for mingw.
+ * lib/sys_stat.in.h (mkdir): Define through an 'extern' declaration
+ if REPLACE_MKDIR is 1. Otherwise, test for mingw directly.
+ * m4/mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Require
+ gl_SYS_STAT_H_DEFAULTS. When doing the replacement, set REPLACE_MKDIR
+ rather than defining mkdir in config.h.
+ * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): New macro.
+ (gl_SYS_STAT_H_DEFAULTS): New macro.
+ (gl_HEADER_SYS_STAT_H): Require it. Don't set HAVE_DECL_MKDIR and
+ HAVE_IO_H any more.
+ * modules/sys_stat (Makefile.am): Substitute REPLACE_MKDIR instead of
+ HAVE_DECL_MKDIR and HAVE_IO_H.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/isapipe.c: Port to native Windows platforms.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/gc-gnulib.c: Include <windows.h> before <wincrypt.h>.
+
+2008-04-21 Eric Blake <ebb9@byu.net>
+
+ Work around preprocessors that don't handle UINTMAX_MAX.
+ * lib/memchr2.c (memchr2): Avoid embedded #if.
+ Reported by Alain Guibert, fix suggested by Bruno Haible.
+
+2008-04-21 Simon Josefsson <simon@josefsson.org>
+
+ * doc/posix-functions/strftime.texi (strftime): Explain better
+ Windows incompatibility. Suggested by Micah Cowan
+ <micah@cowan.name>.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * modules/uniconv/u32-conv-to-enc (Depends-on): Add unistr/u32-mblen,
+ unistr/u8-mblen.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ Fix test failure on platforms with non-GNU iconv.
+ * lib/uniconv/u16-conv-to-enc.c (u16_to_u8_lenient): New function.
+ (U_TO_U8): Use it, rather than u16_to_u8.
+ * lib/uniconv/u-conv-to-enc.h (FUNC): Allow an incomplete sequence of
+ units at the end of the input string.
+ * modules/uniconv/u16-conv-to-enc (Depends-on): Update.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * tests/uniconv/test-u8-conv-to-enc.c (main): Accept result == NULL
+ when the resulting length is 0.
+ * tests/uniconv/test-u16-conv-to-enc.c (main): Likewise.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * m4/roundf.m4 (gl_FUNC_ROUNDF): Add test whether roundf actually
+ works.
+ * doc/posix-functions/roundf.texi: Mention roundf bug on mingw.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-tsearch.c (main): Don't use initstate if it is missing.
+ * modules/tsearch-tests (configure.ac): Test for initstate function.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Also provided a substitute
+ for nlink_t if missing.
+ * tests/test-sys_stat.c: Check the existence of the nlink_t type.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ Work around snprintf bug on Linux libc5.
+ * m4/printf.m4 (gl_SNPRINTF_SIZE1): New macro.
+ * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke
+ gl_SNPRINTF_SIZE1.
+ * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+ * m4/snprintf.m4 (gl_FUNC_SNPRINTF): Likewise. Replace snprintf if
+ that test failed.
+ * m4/vsnprintf.m4 (gl_FUNC_VSNPRINTF): Likewise.
+ * lib/vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems.
+ * modules/snprintf (Files): Add m4/printf.m4.
+ * modules/vsnprintf (Files): Likewise.
+ * doc/posix-functions/snprintf.texi: Document Linux libc5 problem.
+ * doc/posix-functions/vsnprintf.texi: Likewise.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error
+ from 0.0058 to less than 10^-7.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ Fix rounding when a precision is given.
+ * lib/vasnprintf.c (is_borderline): New function.
+ (VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with
+ 9...9x.
+ * tests/test-vasnprintf-posix.c (test_function): Test rounding with %f,
+ %e, %g.
+ * tests/test-vasprintf-posix.c (test_function): Likewise.
+ * tests/test-snprintf-posix.h (test_function): Likewise.
+ * tests/test-sprintf-posix.h (test_function): Likewise.
+ * tests/test-fprintf-posix.h (test_function): Test rounding with %f.
+ * tests/test-printf-posix.h (test_function): Likewise.
+ * tests/test-printf-posix.output: Update.
+ Reported by John Darrington <john@darrington.wattle.id.au> via
+ Ben Pfaff <blp@cs.stanford.edu>.
+
2008-04-18 Simon Josefsson <simon@josefsson.org>
* doc/posix-functions/strftime.texi (strftime): Clarify platform.
(gl_locale_name_from_win32_LANGID): Fix code for Sindhi.
Reported by Daniel Bergström <daniel@octocode.com>.
+2007-12-25 KJK::Hyperion <hackbunny@reactos.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * lib/localename.c (gl_locale_name_canonicalize) [WIN32_NATIVE]: New
+ function.
+ (gl_locale_name_from_win32_LANGID, gl_locale_name_from_win32_LCID):
+ New functions, mostly extracted from gl_locale_name_default.
+ (gl_locale_name_default): Use gl_locale_name_from_win32_LCID.
+
2008-04-16 Eric Blake <ebb9@byu.net>
Adjust strtod detection to catch glibc 2.7 bug.
-----
+ Local Variables:
+ coding: utf-8
+ End:
+
Copyright (C) 1997-2008 Free Software Foundation, Inc.
Copying and distribution of this file, with or without