+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.
+ Suggested by Bruno Haible <bruno@clisp.org>.
+
+2008-04-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/lock.h (gl_lock_destroy, gl_rwlock_destroy,
+ gl_recursive_lock_destroy): Provide no-op definitions for the dummy
+ implementation.
+ Patch by Bruce Merry <bmerry@gmail.com>.
+
+2008-04-17 Simon Josefsson <simon@josefsson.org>
+
+ * doc/posix-functions/strftime.texi (strftime): Mention that %e
+ doesn't work under Windows.
+
+2008-04-16 Bruno Haible <bruno@clisp.org>
+
+ * lib/localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR):
+ New macros.
+ (SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN,
+ SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC,
+ SUBLANG_CROATIAN_CROATIA, SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN,
+ SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA, SUBLANG_MONGOLIAN_PRC,
+ SUBLANG_QUECHUA_BOLIVIA, SUBLANG_QUECHUA_ECUADOR, SUBLANG_QUECHUA_PERU,
+ SUBLANG_RUSSIAN_RUSSIA, SUBLANG_RUSSIAN_MOLDAVIA, SUBLANG_SPANISH_US,
+ SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN, SUBLANG_UIGHUR_PRC): New
+ macros.
+ (gl_locale_name_from_win32_LANGID): Refine code for Croatian/Bosnian,
+ Mongolian, Russian, Spanish, Tibetan. Add code for Maori, Quechua,
+ Northern Sotho, Uighur.
+
+2008-04-16 Bruno Haible <bruno@clisp.org>
+
+ * lib/localename.c (SUBLANG_SINDHI_INDIA): New macro.
+ (SUBLANG_SINDHI_PAKISTAN): Change value from 1 to 2.
+ (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.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Test "nan()" behavior.
+ Reported by John Gatewood Ham.
+
+2008-04-16 Bruno Haible <bruno@clisp.org>
+
+ Add tentative support for Linux libc5.
+ * lib/fbufmode.c (fbufmode) [__GNU_LIBRARY__==1]: Reuse glibc2 code.
+ * lib/fpurge.c (fpurge): Likewise.
+ * lib/freadable.c (freadable): Likewise.
+ * lib/freadahead.c (freadahead): Likewise.
+ * lib/freading.c (freading): Likewise.
+ * lib/freadptr.c (freadptr): Likewise.
+ * lib/freadseek.c (freadptrinc): Likewise.
+ * lib/fseeko.c (rpl_fseeko): Likewise.
+ * lib/fseterr.c (fseterr): Likewise.
+ * lib/fwritable.c (fwritable): Likewise.
+ * lib/fwriting.c (fwriting): Likewise.
+ Reported by Alain Guibert <alguibert+bts@free.fr>.
+
+2008-04-15 Bruno Haible <bruno@clisp.org>
+
+ * modules/mathl (configure.ac): Define module indicator.
+
+2008-04-15 Bruno Haible <bruno@clisp.org>
+
+ * lib/logl.c (logl): Remove unused variables.
+
+2008-04-15 Bruno Haible <bruno@clisp.org>
+
+ * lib/uniconv/u-conv-to-enc.h (FUNC): Fix return value when U_TO_U8
+ fails.
+
+2008-04-15 Bruno Haible <bruno@clisp.org>
+
+ * lib/trim.c (trim2): Fix argument of isspace() macro.
+
+2008-04-15 Paolo Bonzini <bonzini@gnu.org>
+
+ * lib/tanl.c (kernel_tanl): Rename flag to invert, initialize it
+ to 0.
+ * lib/trigl.c (ieee754_rem_pio2l): Fix range checks.
+
+2008-04-14 Bruno Haible <bruno@clisp.org>
+
+ * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Fix underquoting of
+ AC_LANG_PROGRAM argument.
+ * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
+ * m4/gethrxtime.m4 (gl_ARITHMETIC_HRTIME_T): Likewise.
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Likewise.
+ * m4/inttypes.m4 (gl_INTTYPES_H): Likewise.
+ * m4/math_h.m4 (gl_MATH_H): Likewise.
+ * m4/mbstate_t.m4 (AC_TYPE_MBSTATE_T): Likewise.
+ * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
+ * m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): Likewise.
+ * m4/physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): Likewise.
+ * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise.
+ * m4/regex.m4 (gl_REGEX): Likewise.
+ * m4/stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Likewise.
+ * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET): Likewise.
+ * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
+ * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Likewise.
+ * m4/strndup.m4 (gl_FUNC_STRNDUP): Likewise.
+ * m4/strstr.m4 (gl_FUNC_STRSTR): Likewise.
+ * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
+ * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise.
+
+2008-04-14 Jim Meyering <meyering@redhat.com>
+
+ test-strtod: fix typos: s/abs/fabs/
+ * tests/test-strtod.c (main): Use fabs, not narrowing-to-int "abs".
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl'.
+ * lib/canonicalize-lgpl.c: Elide the contents if the 'canonicalize'
+ module is also used and while not building the reloc-wrapper.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ Fix AIX compilation failure introduced on 2008-04-02.
+ * tests/test-frexp.c (exp): Undefine before redefining.
+ * tests/test-frexpl.c (exp): Likewise.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ Work around a HP-UX stdio bug.
+ * tests/test-ftell.c (main): Disable the fseek/ftell test on HP-UX.
+ * tests/test-ftello.c (main): Likewise.
+ * doc/posix-functions/ftell.texi: Mention HP-UX bug.
+ * doc/posix-functions/ftello.texi: Likewise.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ Make test-signbit pass on HP-UX/hppa.
+ * tests/test-signbit.c (minus_zerol): New variable.
+ (test_signbitl): Use it.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ Make truncl work on OSF/1 4.0.
+ * m4/truncl.m4 (gl_FUNC_TRUNCL): Test whether truncl actually works.
+ Set REPLACE_TRUNCL, not HAVE_DECL_TRUNCL.
+ * lib/math.in.h (truncl): Test REPLACE_TRUNCL, not HAVE_DECL_TRUNCL.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNCL, not
+ HAVE_DECL_TRUNCL.
+ * modules/math (Makefile.am): Substitute REPLACE_TRUNCL, not
+ HAVE_DECL_TRUNCL.
+ * doc/posix-functions/truncl.texi: Document the OSF/1 4.0 problem.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * lib/unictype.h: Remove trailing comma from enumeration definitions.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * lib/count-one-bits.h (COUNT_ONE_BITS): Rewrite verification
+ expression, so as to avoid HP-UX 11 cc compiler bug.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * m4/regex.m4 (gl_PREREQ_REGEX): Also check for <libintl.h>.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * lib/git-merge-changelog.c: Remove empty declaration outside of
+ functions.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * modules/quotearg-tests (Makefile.am): Define test_quotearg_LDADD.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-headers/sys_socket.texi: Document the problem on EMX.
+ * lib/sys_socket.in.h (SHUT_RD, SHUT_WR, SHUT_RDWR): Define if missing.
+ * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Replace <sys/socket.h>
+ also if it exists but lacks definitions of the SHUT_* macros.
+ * modules/sys_socket (Description): Update.
+ Reported by Elbert Pol <e.pol@chello.nl>.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * lib/localcharset.c (OS2): Don't redefine if already defined.
+ Reported by Elbert Pol <e.pol@chello.nl>.
+
+2008-04-13 Bruno Haible <bruno@clisp.org>
+
+ * lib/binary-io.h [__EMX__]: Include <io.h>.
+ Reported by Elbert Pol <e.pol@chello.nl>.
+
+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * lib/fpucw.h: Enable the definitions also for x86_64.
+ Needed for NetBSD/x86_64.
+ Reported by Thomas Klausner <tk@giga.or.at>.
+
+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-strtod.c: Include isnand.h.
+ (main): Use isnand instead of isnan.
+ Reported by Jim Meyering.
+
+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanf.m4 (gl_ISNANF_WORKS): Add a test for a special NaN.
+ Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
+
+2008-04-12 Jim Meyering <meyering@redhat.com>
+
+ * m4/math_h.m4 (gl_MATH_H): Fix typos.
+
+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * lib/freadptr.c (freadptr) [__EMX__]: Fix wrong assertion.
+ Reported by Elbert Pol <e.pol@chello.nl>.
+
+2008-04-12 Eric Blake <ebb9@byu.net>
+
+ Work around Solaris 10 math.h bug.
+ * m4/math_h.m4 (gl_MATH_H): Check for bug.
+ (gl_MATH_H_DEFAULTS): Set up default.
+ * modules/math (Makefile.am): Replace new indicators.
+ * lib/math.in.h (NAN, HUGE_VAL): Provide replacements.
+ * tests/test-math.c (main): Test this.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL.
+ * doc/posix-headers/math.texi (math.h): Mention bug.
+ Reported by Nelson H. F. Beebe and Jim Meyering.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ Adapt to future versions of Apple GCC.
+ * lib/argp-fmtstream.h (ARGP_FS_EI): Don't test __GNUC_GNU_INLINE__.
+ Reported by Peter O'Gorman <peter@pogma.com>.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-getaddrinfo.c (simple): Ignore EAI_NONAME error.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * modules/strsignal-tests (Makefile.am): Define test_strsignal_LDADD.
+
+ * modules/getaddrinfo-tests (Makefile.am): Define
+ test_getaddrinfo_LDADD.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * lib/strsignal.c (_sys_siglist): Don't declare if already declared.
+ (init): Fix syntax error.
+ * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Check whether _sys_siglist
+ is declared.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * lib/glob.c: Include <stdbool.h>. Needed at least with IRIX cc.
+ * modules/glob (Depends-on): Add stdbool.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * lib/trim.c: Include <string.h>.
+
+2008-04-11 Eric Blake <ebb9@byu.net>
+
+ Avoid compile failure on OS/2.
+ * lib/regex_internal.h (internal_function): Disable optimization
+ on OS/2 (__EMX__), where it caused compiler error.
+ Reported by Elbert Pol.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ Flush the standard error stream before aborting. Needed on mingw.
+ * tests/test-argmatch.c (ASSERT): Call fflush(stderr) before abort().
+ * tests/test-array_list.c (ASSERT): Likewise.
+ * tests/test-array_oset.c (ASSERT): Likewise.
+ * tests/test-avltree_list.c (ASSERT): Likewise.
+ * tests/test-avltree_oset.c (ASSERT): Likewise.
+ * tests/test-avltreehash_list.c (ASSERT): Likewise.
+ * tests/test-binary-io.c (ASSERT): Likewise.
+ * tests/test-byteswap.c (ASSERT): Likewise.
+ * tests/test-c-ctype.c (ASSERT): Likewise.
+ * tests/test-c-strcasecmp.c (ASSERT): Likewise.
+ * tests/test-c-strcasestr.c (ASSERT): Likewise.
+ * tests/test-c-strncasecmp.c (ASSERT): Likewise.
+ * tests/test-c-strstr.c (ASSERT): Likewise.
+ * tests/test-canonicalize-lgpl.c (ASSERT): Likewise.
+ * tests/test-canonicalize.c (ASSERT): Likewise.
+ * tests/test-carray_list.c (ASSERT): Likewise.
+ * tests/test-ceilf1.c (ASSERT): Likewise.
+ * tests/test-ceilf2.c (ASSERT): Likewise.
+ * tests/test-ceill.c (ASSERT): Likewise.
+ * tests/test-count-one-bits.c (ASSERT): Likewise.
+ * tests/test-fbufmode.c (ASSERT): Likewise.
+ * tests/test-fflush2.c (ASSERT): Likewise.
+ * tests/test-floorf1.c (ASSERT): Likewise.
+ * tests/test-floorf2.c (ASSERT): Likewise.
+ * tests/test-floorl.c (ASSERT): Likewise.
+ * tests/test-fopen.c (ASSERT): Likewise.
+ * tests/test-fpending.c (ASSERT): Likewise.
+ * tests/test-fprintf-posix.c (ASSERT): Likewise.
+ * tests/test-fpurge.c (ASSERT): Likewise.
+ * tests/test-freadable.c (ASSERT): Likewise.
+ * tests/test-freadahead.c (ASSERT): Likewise.
+ * tests/test-freading.c (ASSERT): Likewise.
+ * tests/test-freadptr.c (ASSERT): Likewise.
+ * tests/test-freadptr2.c (ASSERT): Likewise.
+ * tests/test-freadseek.c (ASSERT): Likewise.
+ * tests/test-freopen.c (ASSERT): Likewise.
+ * tests/test-frexp.c (ASSERT): Likewise.
+ * tests/test-frexpl.c (ASSERT): Likewise.
+ * tests/test-fseek.c (ASSERT): Likewise.
+ * tests/test-fseeko.c (ASSERT): Likewise.
+ * tests/test-fstrcmp.c (ASSERT): Likewise.
+ * tests/test-ftell.c (ASSERT): Likewise.
+ * tests/test-ftello.c (ASSERT): Likewise.
+ * tests/test-func.c (ASSERT): Likewise.
+ * tests/test-fwritable.c (ASSERT): Likewise.
+ * tests/test-fwriting.c (ASSERT): Likewise.
+ * tests/test-getdelim.c (ASSERT): Likewise.
+ * tests/test-getline.c (ASSERT): Likewise.
+ * tests/test-i-ring.c (ASSERT): Likewise.
+ * tests/test-iconv-utf.c (ASSERT): Likewise.
+ * tests/test-iconv.c (ASSERT): Likewise.
+ * tests/test-isfinite.c (ASSERT): Likewise.
+ * tests/test-isnand.c (ASSERT): Likewise.
+ * tests/test-isnanf.c (ASSERT): Likewise.
+ * tests/test-isnanl.h (ASSERT): Likewise.
+ * tests/test-ldexpl.c (ASSERT): Likewise.
+ * tests/test-linked_list.c (ASSERT): Likewise.
+ * tests/test-linkedhash_list.c (ASSERT): Likewise.
+ * tests/test-localename.c (ASSERT): Likewise.
+ * tests/test-lseek.c (ASSERT): Likewise.
+ * tests/test-mbscasecmp.c (ASSERT): Likewise.
+ * tests/test-mbscasestr1.c (ASSERT): Likewise.
+ * tests/test-mbscasestr2.c (ASSERT): Likewise.
+ * tests/test-mbscasestr3.c (ASSERT): Likewise.
+ * tests/test-mbscasestr4.c (ASSERT): Likewise.
+ * tests/test-mbschr.c (ASSERT): Likewise.
+ * tests/test-mbscspn.c (ASSERT): Likewise.
+ * tests/test-mbsncasecmp.c (ASSERT): Likewise.
+ * tests/test-mbspbrk.c (ASSERT): Likewise.
+ * tests/test-mbspcasecmp.c (ASSERT): Likewise.
+ * tests/test-mbsrchr.c (ASSERT): Likewise.
+ * tests/test-mbsspn.c (ASSERT): Likewise.
+ * tests/test-mbsstr1.c (ASSERT): Likewise.
+ * tests/test-mbsstr2.c (ASSERT): Likewise.
+ * tests/test-mbsstr3.c (ASSERT): Likewise.
+ * tests/test-memchr2.c (ASSERT): Likewise.
+ * tests/test-memmem.c (ASSERT): Likewise.
+ * tests/test-open.c (ASSERT): Likewise.
+ * tests/test-printf-frexp.c (ASSERT): Likewise.
+ * tests/test-printf-frexpl.c (ASSERT): Likewise.
+ * tests/test-printf-posix.c (ASSERT): Likewise.
+ * tests/test-quotearg.c (ASSERT): Likewise.
+ * tests/test-rbtree_list.c (ASSERT): Likewise.
+ * tests/test-rbtree_oset.c (ASSERT): Likewise.
+ * tests/test-rbtreehash_list.c (ASSERT): Likewise.
+ * tests/test-round1.c (ASSERT): Likewise.
+ * tests/test-roundf1.c (ASSERT): Likewise.
+ * tests/test-roundl.c (ASSERT): Likewise.
+ * tests/test-signbit.c (ASSERT): Likewise.
+ * tests/test-sleep.c (ASSERT): Likewise.
+ * tests/test-snprintf-posix.c (ASSERT): Likewise.
+ * tests/test-snprintf.c (ASSERT): Likewise.
+ * tests/test-sprintf-posix.c (ASSERT): Likewise.
+ * tests/test-stat-time.c (ASSERT): Likewise.
+ * tests/test-strcasestr.c (ASSERT): Likewise.
+ * tests/test-strerror.c (ASSERT): Likewise.
+ * tests/test-striconv.c (ASSERT): Likewise.
+ * tests/test-striconveh.c (ASSERT): Likewise.
+ * tests/test-striconveha.c (ASSERT): Likewise.
+ * tests/test-strsignal.c (ASSERT): Likewise.
+ * tests/test-strstr.c (ASSERT): Likewise.
+ * tests/test-strtod.c (ASSERT): Likewise.
+ * tests/test-trunc1.c (ASSERT): Likewise.
+ * tests/test-trunc2.c (ASSERT): Likewise.
+ * tests/test-truncf1.c (ASSERT): Likewise.
+ * tests/test-truncf2.c (ASSERT): Likewise.
+ * tests/test-truncl.c (ASSERT): Likewise.
+ * tests/test-vasnprintf-posix.c (ASSERT): Likewise.
+ * tests/test-vasnprintf-posix2.c (ASSERT): Likewise.
+ * tests/test-vasnprintf.c (ASSERT): Likewise.
+ * tests/test-vasprintf-posix.c (ASSERT): Likewise.
+ * tests/test-vasprintf.c (ASSERT): Likewise.
+ * tests/test-vfprintf-posix.c (ASSERT): Likewise.
+ * tests/test-vprintf-posix.c (ASSERT): Likewise.
+ * tests/test-vsnprintf-posix.c (ASSERT): Likewise.
+ * tests/test-vsnprintf.c (ASSERT): Likewise.
+ * tests/test-vsprintf-posix.c (ASSERT): Likewise.
+ * tests/test-wcwidth.c (ASSERT): Likewise.
+ * tests/test-xfprintf-posix.c (ASSERT): Likewise.
+ * tests/test-xprintf-posix.c (ASSERT): Likewise.
+ * tests/test-xvasprintf.c (ASSERT): Likewise.
+ * tests/uniconv/test-u16-conv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u16-conv-to-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u16-strconv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u16-strconv-to-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u32-conv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u32-conv-to-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u32-strconv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u32-strconv-to-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u8-conv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u8-conv-to-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u8-strconv-from-enc.c (ASSERT): Likewise.
+ * tests/uniconv/test-u8-strconv-to-enc.c (ASSERT): Likewise.
+ * tests/unictype/test-bidi_byname.c (ASSERT): Likewise.
+ * tests/unictype/test-bidi_name.c (ASSERT): Likewise.
+ * tests/unictype/test-bidi_of.c (ASSERT): Likewise.
+ * tests/unictype/test-bidi_test.c (ASSERT): Likewise.
+ * tests/unictype/test-block_list.c (ASSERT): Likewise.
+ * tests/unictype/test-block_of.c (ASSERT): Likewise.
+ * tests/unictype/test-block_test.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_and.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_and_not.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_byname.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_name.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_none.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_of.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_or.c (ASSERT): Likewise.
+ * tests/unictype/test-categ_test_withtable.c (ASSERT): Likewise.
+ * tests/unictype/test-combining.c (ASSERT): Likewise.
+ * tests/unictype/test-decdigit.c (ASSERT): Likewise.
+ * tests/unictype/test-digit.c (ASSERT): Likewise.
+ * tests/unictype/test-mirror.c (ASSERT): Likewise.
+ * tests/unictype/test-numeric.c (ASSERT): Likewise.
+ * tests/unictype/test-pr_byname.c (ASSERT): Likewise.
+ * tests/unictype/test-pr_test.c (ASSERT): Likewise.
+ * tests/unictype/test-predicate-part1.h (ASSERT): Likewise.
+ * tests/unictype/test-scripts.c (ASSERT): Likewise.
+ * tests/unictype/test-sy_c_ident.c (ASSERT): Likewise.
+ * tests/unictype/test-sy_java_ident.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-asnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vasnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vasnprintf2.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vasnprintf3.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vasprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vsnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u16-vsprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-asnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vasnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vasnprintf2.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vasnprintf3.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vasprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vsnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u32-vsprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-asnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vasnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vasnprintf2.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vasnprintf3.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vasprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vsnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-u8-vsprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-asnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vasnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vasnprintf2.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vasnprintf3.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vasprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vsnprintf1.c (ASSERT): Likewise.
+ * tests/unistdio/test-ulc-vsprintf1.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u16-strwidth.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u16-width.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u32-strwidth.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u32-width.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u8-strwidth.c (ASSERT): Likewise.
+ * tests/uniwidth/test-u8-width.c (ASSERT): Likewise.
+ * tests/uniwidth/test-uc_width.c (ASSERT): Likewise.
+ Reported by Eric Blake.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * lib/wchar.in.h: Tweak comment.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ Fix __GNUC_STDC_INLINE__ predefine with Apple GCC on MacOS X 10.5.
+ * gnulib-tool (func_emit_initmacro_start): Emit an invocation of
+ gl_COMMON.
+ * m4/gnulib-common.m4 (gl_COMMON, gl_COMMON_BODY): New macros.
+
+2008-04-11 Bruno Haible <bruno@clisp.org>
+
+ * modules/git-merge-changelog (git_merge_changelog_LDADD): Add LIBINTL.
+
+2008-04-11 Simon Josefsson <simon@josefsson.org>
+
+ * lib/gc-gnulib.c: On Windows, use CryptGenRandom from CSP instead
+ of attempting to use non-existing /dev/*random. Based on patch
+ from Adam Strzelecki <ono@java.pl> in
+ <http://lists.gnu.org/archive/html/help-gsasl/2008-02/msg00000.html>.
+
+2008-04-08 Bruno Haible <bruno@clisp.org>
+
+ Add tentative support for emx+gcc.
+ * lib/fbufmode.c (fbufmode) [__EMX__]: Add conditional code.
+ * lib/fpurge.c (fpurge): Likewise.
+ * lib/freadable.c (freadable): Likewise.
+ * lib/freadahead.c (freadahead): Likewise.
+ * lib/freading.c (freading): Likewise.
+ * lib/freadptr.c (freadptr): Likewise.
+ * lib/freadseek.c (freadptrinc): Likewise.
+ * lib/fseeko.c (rpl_fseeko): Likewise.
+ * lib/fseterr.c (fseterr): Likewise.
+ * lib/fwritable.c (fwritable): Likewise.
+ * lib/fwriting.c (fwriting): Likewise.
+ * m4/fpending.m4 (gl_FUNC_FPENDING): Add a variant for emx+gcc.
+
+2008-04-09 Eric Blake <ebb9@byu.net>
+
+ Avoid some autoconf warnings.
+ * m4/regex.m4 (gl_REGEX): s/AC_HELP_STRING/AS_HELP_STRING/.
+ * m4/acl.m4 (gl_FUNC_ACL): Likewise.
+ * m4/afs.m4 (gl_AFS): Likewise.
+ * m4/gc-random.m4 (gl_GC_RANDOM): Likewise.
+ * m4/include_next.m4 (gl_INCLUDE_NEXT): s/AC_FOREACH/m4_foreach_w/.
+ * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+ * m4/stdint.m4 (gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED)
+ (gl_INTEGER_TYPE_SUFFIX): Likewise.
+ * m4/onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE)
+ (AC_CHECK_DECLS_ONCE): Likewise.
+ Rename file...
+ * m4/onceonly.m4: ...to this, and delete 2.54 variant, now that
+ gnulib-tool requires autoconf 2.59 or better.
+ * gnulib-tool (func_get_filelist): s/\(onceonly\)_2_57.m4/\1.m4/.
+
+2008-04-08 Eric Blake <ebb9@byu.net>
+
+ Use 'git describe --match' if present (added in git 1.5.5).
+ * build-aux/git-version-gen: Limit result to tags that match 'v*'
+ if possible.
+
+2008-04-08 Bruno Haible <bruno@clisp.org>
+
+ Add tentative support for OpenServer.
+ * lib/fbufmode.c (fbufmode): Add conditional define for _flag, _base,
+ _ptr, _cnt.
+ * lib/fpurge.c (fpurge): Likewise.
+ * lib/freadable.c (freadable): Likewise.
+ * lib/freadahead.c (freadahead): Likewise.
+ * lib/freading.c (freading): Likewise.
+ * lib/freadptr.c (freadptr): Likewise.
+ * lib/freadseek.c (freadptrinc): Likewise.
+ * lib/fseeko.c (rpl_fseeko): Likewise.
+ * lib/fseterr.c (fseterr): Likewise.
+ * lib/fwritable.c (fwritable): Likewise.
+ * lib/fwriting.c (fwriting): Likewise.
+ Reported by Roger Cornelius <rac@tenzing.org> and
+ Brian K. White <brian@aljex.com>.
+
+2008-04-06 Jim Meyering <meyering@redhat.com>
+
+ * gnulib-tool (func_add_or_update): s/backuped/backed up/ in diagnostic
+
+2008-04-06 Bruno Haible <bruno@clisp.org>
+
+ Avoid possible error with non-ASCII bytes in UTF-8 locales.
+ * tests/test-fprintf-posix.sh: Use "LC_ALL=C tr" instead of "tr".
+ * tests/test-printf-posix.sh: Likewise.
+ * tests/test-vfprintf-posix.sh: Likewise.
+ * tests/test-vprintf-posix.sh: Likewise.
+ * tests/test-xprintf-posix.sh: Likewise.
+
+2008-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Fix quoting,
+ hide error from 'ls', needed on OS/2.
+ Report by Elbert Pol <elbert.pol@gmail.com>.
+
+2008-04-04 Eric Blake <ebb9@byu.net>
+
+ Make test-fseeko.c failures meaningful.
+ * tests/test-fseeko.c: Print line number on failure.
+ * tests/test-fseek.c: Likewise.
+ Reported by Nelson H. F. Beebe.
+
+ Improve strtod bug detection check.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Also check for hex-float parsing,
+ required for Solaris 10.
+ Reported by Bob Friesenhahn and Nelson H. F. Beebe.
+
+2008-04-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/relocatable-prog-wrapper (Files): Add m4/environ.m4. Needed
+ by m4/setenv.m4.
+
+2008-04-03 Eric Blake <ebb9@byu.net>
+
+ Ensure sane .version contents.
+ * top/GNUmakefile (_dummy): Also delete .version when rebuilding
+ version string.
+ * build-aux/git-version-gen: Improve documentation.
+
+ Make GNU make output nicer.
+ * top/GNUmakefile [!_have-Makefile]: Add dependency on
+ MAKECMDGOALS to enforce message for all command line targets. Set
+ srcdir for use in maint.mk.
+
+ Another maintainer tweak.
+ * top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
+ a target that regenerates version.
+
+2008-04-03 Jim Meyering <meyering@redhat.com>
+
+ vc-list-files: don't cause coreutils "make po-check" failure
+ * build-aux/vc-list-files: Skip postprocessing when $2 is '.'
+
+2008-04-03 Eric Blake <ebb9@byu.net>
+
+ Allow VPATH usage of vc-list-files.
+ * build-aux/vc-list-files (scriptversion): Add timestamp.
+ (options): Add --help, --version, -C.
+ (CVS): Support installed cvsu.
+
+2008-04-02 Bruno Haible <bruno@clisp.org>
+
+ Avoid some "statement with no effect" warnings from gcc.
+ * tests/test-wctype.c (main): Explicitly ignore unused values.
+ Reported by Jim Meyering.
+
+2008-04-02 Jim Meyering <meyering@redhat.com>
+
+ Avoid some warnings from "gcc -Wshadow".
+ * tests/test-frexp.c (exp): Define to a different identifier.
+ * tests/test-frexpl.c (exp): Likewise.
+
+2008-04-03 Jim Meyering <meyering@redhat.com>
+
+ bootstrap: remove dangling *.[ch] symlinks from lib
+ * build-aux/bootstrap [dangling symlink removal]: Move find's
+ -depth option to precede all others, to avoid a warning.
+ Remove *.[ch] files too, and from "$source_base" (usually lib/).
+
+2008-04-02 Bruno Haible <bruno@clisp.org>
+
+ Avoid some warnings from "gcc -Wshadow".
+ * tests/tests-vfprintf-posix.c (my_fprintf): Move after test_function.
+ * tests/tests-vprintf-posix.c (my_printf): Move after test_function.
+ * tests/tests-vsnprintf-posix.c (my_snprintf): Move after test_function.
+ * tests/tests-vsprintf-posix.c (my_sprintf): Move after test_function.
+ Reported by Jim Meyering.
+
+2008-04-01 Bruno Haible <bruno@clisp.org>
+
+ Fix test to work on IRIX 6.5 with cc.
+ * tests/test-math.c (numeric_equal): New function.
+ (main): Use it.
+
+2008-04-01 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-headers/math.texi: Refine documentation of NAN problem.
+
+2008-04-01 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-vasnprintf-posix.c: Include nan.h instead of <math.h>.
+ (test_function): Use NaNd, NaNl instead of NAN or 0.0L/0.0L.
+ * modules/vasnprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+
+ * tests/test-vasprintf-posix.c: Include nan.h instead of <math.h>.
+ (test_function): Use NaNd, NaNl instead of NAN or 0.0L/0.0L.
+ * modules/vasprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+
+ * tests/test-snprintf-posix.h: Include nan.h instead of <math.h>.
+ (test_function): Use NaNd, NaNl instead of NAN or 0.0L/0.0L.
+ * modules/snprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+ * modules/vsnprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+
+ * tests/test-sprintf-posix.h: Include nan.h instead of <math.h>.
+ (test_function): Use NaNd, NaNl instead of NAN or 0.0L/0.0L.
+ * modules/sprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+ * modules/vsprintf-posix-tests (Files): Add tests/nan.h.
+ (Depends-on): Remove math.
+
+ * tests/test-round1.c: Include nan.h.
+ (main): Use NaNd instead of NAN.
+ * modules/round-tests (Files): Add tests/nan.h.
+
+ * tests/test-trunc1.c: Include nan.h.
+ (main): Use NaNd instead of NAN.
+ * modules/trunc-tests (Files): Add tests/nan.h.
+
+ * tests/test-roundf1.c: Include nan.h.
+ (main): Use NaNf instead of NAN.
+ * modules/roundf-tests (Files): Add tests/nan.h.
+
+ * tests/test-truncf1.c: Include nan.h.
+ (main): Use NaNf instead of NAN.
+ * modules/truncf-tests (Files): Add tests/nan.h.
+
+ * tests/test-ceilf1.c: Include nan.h.
+ (main): Use NaNf instead of NAN.
+ * modules/ceilf-tests (Files): Add tests/nan.h.
+
+ * tests/test-floorf1.c: Include nan.h.
+ (main): Use NaNf instead of NAN.
+ * modules/floorf-tests (Files): Add tests/nan.h.
+
+ * tests/test-isnanf.c: Include nan.h instead of <math.h>.
+ (main): Use NaNf instead of NAN.
+ * modules/isnanf-nolibm-tests (Files): Add tests/nan.h.
+
+ * tests/test-isnand.c: Include nan.h instead of <math.h>.
+ (main): Use NaNd instead of NAN.
+ * modules/isnand-nolibm-tests (Files): Add tests/nan.h.
+
+ * tests/test-frexp.c: Include nan.h.
+ (main): Use NaNd instead of NAN.
+ * modules/frexp-tests (Files): Add tests/nan.h.
+
+ * lib/isnan.c: Don't include <math.h>.
+ (FUNC): Don't use NAN macro.
+ * modules/isnand-nolibm (Depends-on): Remove math.
+ * modules/isnanf-nolibm (Depends-on): Remove math.
+ * modules/isnanl (Depends-on): Remove math.
+ * modules/isnanl-nolibm (Depends-on): Remove math.
+
+ * tests/nan.h: New file.
+
+2008-04-01 Eric Blake <ebb9@byu.net>
+
+ Fix typos.
+ * tests/test-strtod.c (main): s/FLT_/DBL_/ for minimum and epsilon
+ values to be the right type.
+
+ For now, cater to gnulib strtod inaccuracies.
+ * tests/test-strtod.c (main): Allow 1-ulp error on expected
+ fractional results. While not as nice from a QoI perspective, it
+ is a quicker patch than correctly implementing decimal to binary
+ rounding.
+
+2008-03-31 Eric Blake <ebb9@byu.net>
+
+ Guarantee a definition of NAN.
+ * lib/math.in.h (NAN): Define if missing.
+ * tests/test-math.c (main): Test it.
+ * doc/posix-headers/math.texi (math.h): Document this.
+ * lib/isnan.c (rpl_isnand): Use it.
+ * tests/test-ceilf1.c (NaN): Delete, and use NAN instead.
+ * tests/test-floorf1.c (NaN): Likewise.
+ * tests/test-frexp.c (NaN): Likewise.
+ * tests/test-isnand.c (NaN): Likewise.
+ * tests/test-isnanf.c (NaN): Likewise.
+ * tests/test-round1.c (NaN): Likewise.
+ * tests/test-roundf1.c (NaN): Likewise.
+ * tests/test-snprintf-posix.h (NaN): Likewise.
+ * tests/test-sprintf-posix.h (NaN): Likewise.
+ * tests/test-trunc1.c (NaN): Likewise.
+ * tests/test-truncf1.c (NaN): Likewise.
+ * tests/test-vasnprintf-posix.c (NaN): Likewise.
+ * tests/test-vasprintf-posix.c (NaN): Likewise.
+ * modules/isnand-nolibm (Depends-on): Add math.
+ * modules/isnanf-nolibm (Depends-on): Likewise.
+ * modules/isnanl (Depends-on): Likewise.
+ * modules/isnanl-nolibm (Depends-on): Likewise.
+ * modules/snprintf-posix-tests (Depends-on): Likewise.
+ * modules/sprintf-posix-tests (Depends-on): Likewise.
+ * modules/vsnprintf-posix-tests (Depends-on): Likewise.
+ * modules/vsprintf-posix-tests (Depends-on): Likewise.
+ * modules/vasnprintf-posix-tests (Depends-on): Likewise.
+ * modules/vasprintf-posix-tests (Depends-on): Likewise.
+
+2008-03-31 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-strtod.c (main): Update results for OSF/1 platforms.
+ * doc/posix-functions/strtod.texi: Likewise.
+
+2008-03-31 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-strtod.c (main): Don't use C99 syntax.
+
+2008-03-31 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-strtod.c (main): Don't test NAN macro. Needed for Solaris.
+ Reported by Eric Blake.
+
+2008-03-31 Jim Meyering <meyering@redhat.com>
+
+ Don't compare actual signbit return values.
+ * tests/test-strtod.c (main): Rather, compare only their
+ zero/non-zero nature.
+
+2008-03-31 Eric Blake <ebb9@byu.net>
+
+ More strtod documentation.
+ * doc/posix-functions/strtod.texi (strtod): Interpret more test
+ failures as distinct bugs.
+
+2008-03-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.
+ Problem reported by Erik Benada in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00249.html>.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-strtod.c: Add comments about which assertion fails on which
+ platform.
+ * doc/posix-functions/strtod.texi: Add info about many more platforms.
+
+2008-03-30 Eric Blake <ebb9@byu.net>
+
+ Test signbit behavior on zeros.
+ * tests/test-signbit.c (test_signbitf): Add tests for zero.
+ (test_signbitd, test_signbitl): Likewise.
+
+ More strtod touchups.
+ * tests/test-strtod.c (main): Ignore tests for signbit on NaN, and
+ sign of negative underflow, for now. Use .5, not .1.
+ * doc/posix-functions/strtod.texi (strtod): Mention these
+ limitations.
+ Reported by Jim Meyering.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/striconveh.h (mem_iconveh, str_iconveh): Optimize the conversion
+ from UTF-8 to UTF-8//TRANSLIT in the same way as from UTF-8 to UTF-8.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Avoid failure when attempting to return empty iconv results on some
+ platforms.
+ * lib/striconveh.c (mem_cd_iconveh_internal): In the final memory
+ allocation, don't report ENOMEM when the resulting string is empty.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix buffer overrun.
+ * lib/vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
+ Don't consider the width for tmp_length. Check count against tmp_length
+ before doing the padding. Ensure enough allocation during padding.
+
+2008-03-30 Eric Blake <ebb9@byu.net>
+
+ strtod touchups.
+ * lib/strtod.c (strtod): Avoid compiler warnings.
+ Reported by Jim Meyering.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistdio/u-vsprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vsprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vsprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/u-vsnprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vsnprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vsnprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/u-vasprintf.h (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vasprintf (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/ulc-vfprintf.c (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-vfprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/unistdio/ulc-fprintf.c (EOVERFLOW): Remove fallback.
+ * modules/unistdio/ulc-fprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/xvasprintf.c (EOVERFLOW): Remove fallback.
+ * modules/xvasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vsprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vsprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/vsnprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vsnprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vfprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vfprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/vasprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vasprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/vasnprintf.c (EOVERFLOW): Remove fallback.
+ * m4/vasnprintf.m4 (gl_FUNC_VASNPRINTF): Drop gl_EOVERFLOW.
+ * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/ulc-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u8-u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u16-u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+ * modules/unistdio/u32-u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+ (Depends-on): Add EOVERFLOW.
+
+ * lib/sprintf.c (EOVERFLOW): Remove fallback.
+ * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/sprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/snprintf.c (EOVERFLOW): Remove fallback.
+ * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/snprintf (Depends-on): Add EOVERFLOW.
+
+ * lib/poll.c (EOVERFLOW): Remove fallback.
+ * modules/poll (Depends-on): Add EOVERFLOW.
+
+ * lib/getugroups.c (EOVERFLOW): Remove fallback.
+ * modules/getugroups (Depends-on): Add EOVERFLOW.
+
+ * lib/getdelim.c (EOVERFLOW): Remove fallback.
+ * modules/getdelim (Depends-on): Add EOVERFLOW.
+
+ * lib/ftell.c (EOVERFLOW): Remove fallback.
+ * modules/ftell (Depends-on): Add EOVERFLOW.
+
+ * lib/fprintf.c (EOVERFLOW): Remove fallback.
+ * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Drop gl_EOVERFLOW.
+ * modules/fprintf-posix (Depends-on): Add EOVERFLOW.
+
+ * lib/c-stack.c (EOVERFLOW): Remove unused fallback.
+
+ * modules/EOVERFLOW-tests: New file.
+ * tests/test-EOVERFLOW.c: New file.
+
+ * modules/EOVERFLOW: New file.
+ * doc/posix-headers/errno.texi: Mention EOVERFLOW portability problem.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2007-06-10.
+ * lib/vasnprintf.c (VASNPRINTF): When performing zero-padding, use
+ spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Improve freadseek's efficiency after ungetc.
+ * lib/freadseek.c: Include freadahead.h.
+ (freadptrinc): New function, extracted from freadseek.
+ (freadseek): Use it in a loop. Use freadahead to determine the number
+ of loop iterations.
+ * modules/freadseek (Depends-on): Add freadahead.
+ (configure.ac): Require AC_C_INLINE.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/freadseek.c (freadseek): Don't ignore the return value of
+ freadptr.
+
+2008-03-29 Eric Blake <ebb9@byu.net>
+
+ Add hex float support.
+ * modules/strtod (Depends-on): Add c-ctype.
+ (Link): Mention POW_LIB.
+ * lib/strtod.c (strtod): Recognize hex floats. Don't allow
+ whitespace between 'e' and exponent.
+ * tests/test-strtod.c (main): Enable hex float tests.
+ * doc/posix-functions/strtod.texi (strtod): Document what gnulib
+ now provides.
+
+ Document various strtod bugs, with some fixes.
+ * doc/posix-functions/strtod.texi (strtod): Document bugs with
+ "-0x", "inf", "nan", and hex constants.
+ * doc/posix-functions/atof.texi (atof): Likewise.
+ * modules/stdlib (Makefile.am): Support strtod.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and
+ detect additional strtod bugs.
+ * lib/stdlib.in.h (rpl_strtod): Add declarations.
+ * lib/strtod.c (strtod): Return -0.0 on negative underflow. Use
+ bool where appropriate. Parse 'inf' and 'nan'.
+ * tests/test-strtod.c: New file.
+ * modules/strtod (Depends-on): Add stdbool, stdlib.
+ (configure.ac): Turn on module indicator.
+ * modules/strtod-tests: New module.
+
+2008-03-29 Eric Blake <ebb9@byu.net>
+
+ Fix ftell on mingw.
+ * lib/ftell.c (EOVERFLOW): Define if the system lacks it.
+ * modules/ftell-tests (Depends-on): Add binary-io.
+ * modules/ftello-tests (Depends-on): Likewise.
+ * tests/test-ftell.c (main): Enhance test to cover behavior after
+ ungetc. Enforce binary mode.
+ * tests/test-ftello.c (main): Likewise.
+
+ Pass test-freadseek on cygwin.
+ * modules/freadseek (Depends-on): Use freadptr, not freadahead.
+ * lib/freadseek.c (freadseek): Don't increment beyond bounds of
+ ungetc buffer.
+
+ * tests/test-fflush2.c (main): Fix typo.
+
+2008-03-29 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-fflush2.c (main): Temporarily disable the contents of
+ this test.
+ * m4/fflush.m4 (gl_FUNC_FFLUSH): Add a TODO.
+ Reported by Eric Blake.
+
+2008-03-28 Simon Josefsson <simon@josefsson.org>
+
+ * lib/gc.h (enum Gc_hash): Add GC_SHA224.
+ (GC_SHA224_DIGEST_SIZE): Add.
+
+ * lib/gc-libgcrypt.c (gc_hash_open): Handle SHA-224.
+ (gc_hash_digest_length): Likewise.
+ (gc_hash_buffer): Likewise.
+
+2008-03-25 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (gettextize and autopoint): Explain in more
+ detail which gettext release to use.
+ Reported by Simon Josefsson.
+
+2008-03-26 Jim Meyering <meyering@redhat.com>
+
+ gnumakefile: remove file from $(top_builddir), not from $(top_srcdir)
+ * modules/gnumakefile (clean-GNUmakefile): Also, use
+ test ... && ... || : syntax rather than if-then ... fi.
+
+ gnumakefile: Don't double-quote-expand $(VPATH) value.
+ * modules/gnumakefile (clean-GNUmakefile): Use single quotes.
+
+2008-03-24 Eric Blake <ebb9@byu.net>
+
+ Alter GNUmakefile to install into top directory.
+ * modules/maintainer-makefile: Split, and add dependency...
+ * modules/gnumakefile: to this new module.
+ * build-aux/GNUmakefile: Move...
+ * top/GNUmakefile: ...here.
+ * build-aux/maint.mk: Move...
+ * top/maint.mk: ...here.
+ * MODULES.html.sh (Support for maintaining...): Document new
+ module.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool: New options --vc-files, --no-vc-files.
+ (func_usage): Document them.
+ (vc_files): New variable.
+ (func_import): Consider vc_files.
+ (func_create_testdir): Set vc_files to empty.
+ Suggested by Jim Meyering and Karl Berry.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Fix regex compilation error on HP-UX 11.
+ * m4/regex.m4 (gl_PREREQ_REGEX): Require AC_TYPE_MBSTATE_T.
+ * modules/regex (Files): Add m4/mbstate_t.m4.
+ Reported by Ton Voon <ton.voon@altinity.com>.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (gettextize and autopoint): New section.
+
+2008-03-23 Eric Blake <ebb9@byu.net>
+ Bruno Haible <bruno@clisp.org>
+
+ Install files from top/ in the destination directory.
+ * gnulib-tool (func_get_automake_snippet): Synthesize an EXTRA_DIST
+ augmentation also for the files from top/.
+ (func_import, func_create_testdir): Rewrite file names:
+ top/filename -> filename.
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Tweak "gnulib --version" output.
+ * gnulib-tool (func_version): Replace "-dirty" suffix with "-modified".
+
+2008-03-23 Bruno Haible <bruno@clisp.org>
+
+ Tweak "gnulib --version" output.
+ * gnulib-tool (func_version): Use date of last commit to ChangeLog,
+ rather than contents of ChangeLog, when possible.
+
+2008-03-21 Eric Blake <ebb9@byu.net>
+
+ More --version tweaks.
+ * gnulib-tool (func_version): Obey GNU Coding Standards. Output
+ date of last ChangeLog entry.
+
+2008-03-21 Jim Meyering <meyering@redhat.com>
+
+ * build-aux/GNUmakefile (_have-git-version-gen): Split long line.
+
+2008-03-20 Eric Blake <ebb9@byu.net>
+
+ VPATH fix.
+ * build-aux/GNUmakefile (_have_git-version-gen): Look in correct dir.
+
+2008-03-20 Simon Josefsson <simon@josefsson.org>
+
+ * build-aux/GNUmakefile: Make git-version-gen optional. Add
+ _build-aux variable. Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-20 Eric Blake <ebb9@byu.net>
+
+ Sync GNUmakefile with coreutils.
+ * build-aux/GNUmakefile (have-Makefile): Rename...
+ (_have-Makefile): ...to this, for namespace consideration.
+ (GNUmakefile.cfg): Include, if present.
+ (_autoreconf): Define a default.
+ (_is-dist-target): New rule for rebuilds to pick up intra-release
+ version.
+ (maint-cfg.mk): Rename...
+ (cfg.mk): ...to this.
+
+2008-03-18 Jim Meyering <meyering@redhat.com>
+
+ New script and module: mktempd
+ * MODULES.html.sh (maint+release support): Add mktempd.
+ * build-aux/mktempd: New file.
+ * modules/mktempd: New file.
+
+2008-03-15 Jim Meyering <meyering@redhat.com>
+
+ Undo last change.
+ * lib/sha1.c, lib/md5.c: 63 != ~63.
+ Reported by Andreas Schwab.
+
+ sha1.c, md5.c: Hoist a redundant expression.
+ * lib/sha1.c (sha1_process_bytes): AND-off the low bits in
+ "ctx->buflen" only once, before calling *_process_block.
+ * lib/md5.c (md5_process_bytes): Likewise.
+
+2008-03-14 Eric Blake <ebb9@byu.net>
+
+ Bump copyright year in files generated by gnulib-tool.
+ * gnulib-tool (func_emit_copyright_notice): Extract copyright from
+ gnulib-tool, rather than hard-coding it.
+
+ Fix 'gnulib-tool --version' output to work with git.
+ * gnulib-tool (func_gnulib_dir): New function, extracted from...
+ (startup): ...here.
+ (func_version): Use it to invoke git-version-gen, rather than
+ relying on CVS keyword expansion. Modernize wording.
+ (cvsdatestamp, last_checkin_date, version): Kill unused
+ variables.
+
+2008-03-12 Jim Meyering <meyering@redhat.com>
+
+ Recognize optional cast of the argument to free.
+ * build-aux/useless-if-before-free: Update regexps.
+
+ * build-aux/bootstrap (gnulib_tool): Remove trailing blanks.
+
+2008-03-11 Bruno Haible <bruno@clisp.org>
+
+ Extend AC_LIB_LINKFLAGS to the situation of several libraries provided
+ by a single package.
+ * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): New macro.
+ (AC_LIB_LINKFLAGS_BODY): Use the information stored by
+ AC_LIB_FROMPACKAGE. Use AC_ARG_WITH instead of AC_LIB_ARG_WITH.
+ Reported by Sam Steingold <sds@gnu.org>.
+
+2008-03-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * build-aux/bootstrap (version_controlled_file): Adapt for SVN
+ repositories.
+
+2008-03-11 Bruno Haible <bruno@clisp.org>
+
+ Avoid conflicts between local macro definitions.
+ * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+ AC_LIB_LINKFLAGS_BODY): Use pushdef/popdef instead of define/undefine.
+
+2008-03-10 Peter O'Gorman <bug-gnulib@mlists.thewrittenword.com>
+ Bruno Haible <bruno@clisp.org>
+
+ Make va_copy work with some version of xlc on AIX 5.1.
+ * lib/stdarg.in.h: New file.
+ * m4/stdarg.m4 (gl_STDARG_H): Initialize STDARG_H and NEXT_STDARG_H.
+ On AIX, use a <stdarg.h> file substitute.
+ * modules/stdarg (Files): Add lib/stdarg.in.h.
+ (Depends-on): Add include_next.
+ (Makefile.am): Build a stdarg.h substitute if requested.
+ * doc/posix-functions/va_copy.texi: Document the platforms lacking it.
+
+2008-03-10 Bruno Haible <bruno@clisp.org>
+
+ * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Document a restriction.
+ * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+ Reported by Peter O'Gorman <bug-gnulib@mlists.thewrittenword.com>.
+
+2008-03-10 Bruno Haible <bruno@clisp.org>
+
+ * modules/stdlib (Depends-on): Add include_next, remove
+ absolute-header.
+
+2008-03-09 Bruno Haible <bruno@clisp.org>
+
+ * lib/freadahead.h (freadahead): Document more precisely.
+ * lib/freadahead.c (freadahead): When an ungetc is in effect, return
+ the sum of both buffer sizes.
+ * tests/test-freadahead.c (main): Also test behaviour after ungetc.
+ * NEWS: Document the change.
+
+2008-03-09 Bruno Haible <bruno@clisp.org>
+
+ Extend freadptr to return also the buffer size.
+ * lib/freadptr.h (freadptr): Add sizep argument.
+ * lib/freadptr.c: Include freadptr.h, not freadahead.h.
+ (freadptr): Add sizep argument. Determine buffer size like freadahead
+ does.
+ * tests/test-freadptr.c: Don't include freadahead.h.
+ (main): Adapt for new calling convention of freadptr.
+ * tests/test-freadptr2.c: New file, based on tests/test-freadahead.c.
+ * tests/test-freadptr2.sh: New file, based on tests/test-freadahead.sh.
+ * modules/freadptr-tests (Files): Add tests/test-freadptr2.c,
+ tests/test-freadptr2.sh.
+ (Depends): Remove freadahead.
+ (TESTS): Add test-freadptr2.sh.
+ (check_PROGRAMS): Add test-freadptr2.
+
+2008-03-09 Bruno Haible <bruno@clisp.org>
+
+ * doc/Makefile (%.pdf): Explain how to remedy the save_size error.
+ Report and solution by Simon Josefsson.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ Make fflush after ungetc work on BSD platforms.
+ * lib/fflush.c (rpl_fflush): Discard ungetc buffer if possible.
+ * tests/test-fflush2.c: New file.
+ * tests/test-fflush2.sh: New file.
+ * modules/fflush-tests (Files): Add tests/test-fflush2.sh,
+ tests/test-fflush2.c.
+ (Makefile.am): Build test-fflush2 and run test-fflush2.sh.
+ * doc/posix-functions/fflush.texi: Document fflush after ungetc bug.
+
+2008-03-06 Eric Blake <ebb9@byu.net>
+
+ Likewise for ftello.
+ * modules/ftello (Dependencies): Add extensions.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ * modules/fseeko (Dependencies): Add extensions.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Require AC_USE_SYSTEM_EXTENSIONS.
+ Needed on glibc systems.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (@nosuchmodulenote): Avoid line break inside
+ email address.
+ Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ * users.txt: Add libgnupdf.
+
+2008-03-06 Thien-Thi Nguyen <ttn@gnuvola.org> (tiny change)
+
+ * doc/gnulib-tool.texi (@nosuchmodulenote): New macro.
+ (Header File Substitutes, Function Substitutes,
+ Glibc Header File Substitutes, Glibc Function Substitutes): Use it.
+ (Build robot for gnulib): Fix typo.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib-tool.texi (VCS Issues): Small updates.
+ Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06 Bruno Haible <bruno@clisp.org>
+
+ * doc/func.texi: New file, extracted from doc/gnulib.texi.
+ * doc/gnulib.texi: Include it.
+
+2008-03-06 Simon Josefsson <simon@josefsson.org>
+
+ * modules/func (License): Change license to unlimited; there was
+ no LGPL parts in the module anyway.
+
+2008-03-06 Simon Josefsson <simon@josefsson.org>
+
+ * modules/__func__: Renamed to modules/func.
+ * modules/__func__-tests: Renamed to modules/func-tests.
+ * tests/test-__func__.c: Renamed to tests/test-func.c.
+ * m4/__func__.m4: Renamed to m4/func.m4.
+ * doc/gnulib.texi (__func__): Section renamed to func.
+ Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06 Simon Josefsson <simon@josefsson.org>
+
+ * doc/gnulib.texi (__func__): Use C99 terminology when talking
+ about __func__. Make example self-contained. Suggested by Eric
+ Blake <ebb9@byu.net>.
+
+ * tests/test-__func__.c (main): Avoid extraneous () around __func.
+ Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06 Simon Josefsson <simon@josefsson.org>
+
+ * modules/__func__: New file.
+ * modules/__func__-tests: New file.
+ * tests/test-__func__.c: New file.
+ * m4/__func__.m4: New file.
+ * doc/gnulib.texi (__func__): Document __func__ module.
+
+2008-03-05 Simon Josefsson <simon@josefsson.org>
+
+ * modules/byteswap (License): Re-license as LGPLv2+.
+
+2008-03-05 Simon Josefsson <simon@josefsson.org>
+
+ * doc/Makefile: Add pdf target.
+
+2008-03-05 Simon Josefsson <simon@josefsson.org>
+
+ * modules/inline (License): Use 'unlimited', since there are only
+ *.m4 files in this module.
+
+2008-03-03 John E. Malmberg <wb8tyw@qsl.net> (tiny change)
+ Bruno Haible <bruno@clisp.org>
+
+ Add support for HP C 7.1 on OpenVMS 8.3.
+ * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS.
+
+2008-03-03 John E. Malmberg <wb8tyw@qsl.net> (tiny change)
+
+ Update VMS specifics.
+ * lib/getopt.c [VMS]: Remove include of unixlib.h.
+
2008-03-02 Jim Meyering <meyering@redhat.com>
+ Remove the last dependency on the "free" module.
+ * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
+ Reported by Bob Proulx.
+
+ * lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
+
+ Remove useless "if" tests before free. Deprecate "free" module.
+ * doc/posix-functions/free.texi: Mention that this
+ module is no longer useful.
+ * modules/free (Notice): Say this module is obsolete.
+ * modules/readutmp (Depends-on): Remove free.
+ * lib/save-cwd.c (free_cwd): Remove useless "if" before free.
+ * lib/putenv.c (putenv): Likewise.
+ * lib/gc-gnulib.c (gc_cipher_close): Likewise.
+ * lib/getaddrinfo.c (freeaddrinfo): Likewise.
+ * tests/test-c-strcasestr.c (main): Likewise.
+ * tests/test-c-strstr.c (main): Likewise.
+ * tests/test-mbscasestr1.c (main): Likewise.
+ * tests/test-mbscasestr2.c (main): Likewise.
+ * tests/test-mbsstr1.c (main): Likewise.
+ * tests/test-mbsstr2.c (main): Likewise.
+ * tests/test-memmem.c (main): Likewise.
+ * tests/test-strcasestr.c (main): Likewise.
+ * tests/test-striconv.c (main): Likewise.
+ * tests/test-striconveh.c (main): Likewise.
+ * tests/test-striconveha.c (main): Likewise.
+ * tests/test-strstr.c (main): Likewise.
+
+ * build-aux/git-version-gen: Adjust a comment and the Usage string.
+
bootstrap: sync from coreutils again
* build-aux/bootstrap: Remove dangling m4/*.m4 symlinks.