+2010-08-26 Eric Blake <eblake@redhat.com>
+
+ include_next: silence autoconf 2.68 warning
+ * m4/include_next.m4 (gl_INCLUDE_NEXT): Mark this use of
+ AC_COMPILE_IFELSE as special.
+ (AC_LANG_DEFINES_PROVIDED): Provide dummy implementation for
+ autoconf < 2.68.
+
+ acl: fix compilation test
+ * m4/acl.m4 (gl_FUNC_ALL): Use correct format for
+ AC_COMPILE_IFELSE.
+
+2010-08-26 Bruno Haible <bruno@clisp.org>
+
+ Modernize AC_TRY_RUN invocations.
+ * m4/btowc.m4 (gl_FUNC_BTOWC): Use AC_RUN_IFELSE instead of AC_TRY_RUN.
+ * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise.
+ * m4/exponentd.m4 (gl_DOUBLE_EXPONENT_LOCATION): Likewise.
+ * m4/exponentf.m4 (gl_FLOAT_EXPONENT_LOCATION): Likewise.
+ * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Likewise.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise.
+ * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Likewise.
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Likewise.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise.
+ * m4/iconv.m4 (AM_ICONV_LINK): Likewise.
+ * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Likewise.
+ * m4/intdiv0.m4 (gt_INTDIV0): Likewise.
+ * m4/isnanf.m4 (gl_ISNANF_WORKS): Likewise.
+ * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Likewise.
+ * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE, gl_MBRLEN_RETVAL,
+ gl_MBRLEN_NUL_RETVAL): Likewise.
+ * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_SANITYCHECK,
+ gl_MBRTOWC_NULL_ARG, gl_MBRTOWC_RETVAL, gl_MBRTOWC_NUL_RETVAL):
+ Likewise.
+ * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
+ * m4/open.m4 (gl_FUNC_OPEN): Likewise.
+ * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE,
+ gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE,
+ gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_DIRECTIVE_N,
+ gl_PRINTF_DIRECTIVE_LS, gl_PRINTF_POSITIONS, gl_PRINTF_FLAG_GROUPING,
+ gl_PRINTF_FLAG_LEFTADJUST, gl_PRINTF_FLAG_ZERO, gl_PRINTF_PRECISION,
+ gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99,
+ gl_SNPRINTF_DIRECTIVE_N, gl_SNPRINTF_SIZE1, gl_VSNPRINTF_ZEROSIZE_C99):
+ Likewise.
+ * m4/printf-posix.m4 (gt_PRINTF_POSIX): Likewise.
+ * m4/signbit.m4 (gl_SIGNBIT, gl_FLOATTYPE_SIGN_LOCATION): Likewise.
+ * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
+ * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise.
+ * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+ * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Likewise.
+ * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
+ * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION): Likewise.
+ * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
+ * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+
+2010-08-26 Bruno Haible <bruno@clisp.org>
+
+ Modernize AC_TRY_LINK invocations.
+ * m4/acosl.m4 (gl_FUNC_ACOSL): Use AC_LINK_IFELSE instead of
+ AC_TRY_LINK.
+ * m4/argp.m4 (gl_ARGP): Likewise.
+ * m4/asinl.m4 (gl_FUNC_ASINL): Likewise.
+ * m4/atanl.m4 (gl_FUNC_ATANL): Likewise.
+ * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise.
+ * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise.
+ * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise.
+ * m4/codeset.m4 (AM_LANGINFO_CODESET): Likewise.
+ * m4/cosl.m4 (gl_FUNC_COSL): Likewise.
+ * m4/expl.m4 (gl_FUNC_EXPL): Likewise.
+ * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise.
+ * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Likewise.
+ * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise.
+ * m4/frexp.m4 (gl_FUNC_FREXP, gl_CHECK_FREXP_NO_LIBM): Likewise.
+ * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_CHECK_FREXPL_NO_LIBM): Likewise.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise.
+ * m4/gettext.m4 (AM_GNU_GETTEXT): Likewise.
+ * m4/hostent.m4 (gl_HOSTENT): Likewise.
+ * m4/iconv.m4 (AM_ICONV_LINK): Likewise.
+ * m4/intl.m4 (gt_INTL_SUBDIR_CORE): Likewise.
+ * m4/intlmacosx.m4 (gt_INTL_MACOSX): Likewise.
+ * m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM, gl_HAVE_ISNAND_NO_LIBM):
+ Likewise.
+ * m4/isnanf.m4 (gl_HAVE_ISNANF_NO_LIBM, gl_HAVE_ISNANF_IN_LIBM):
+ Likewise.
+ * m4/isnanl.m4 (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM):
+ Likewise.
+ * m4/lcmessage.m4 (gt_LC_MESSAGES): Likewise.
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL, gl_CHECK_LDEXPL_NO_LIBM): Likewise.
+ * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Likewise.
+ * m4/logb.m4 (gl_FUNC_LOGB): Likewise.
+ * m4/logl.m4 (gl_FUNC_LOGL): Likewise.
+ * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Likewise.
+ * m4/servent.m4 (gl_SERVENT): Likewise.
+ * m4/signbit.m4 (gl_SIGNBIT): Likewise.
+ * m4/sinl.m4 (gl_FUNC_SINL): Likewise.
+ * m4/sqrtl.m4 (gl_FUNC_SQRTL): Likewise.
+ * m4/tanl.m4 (gl_FUNC_TANL): Likewise.
+ * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise.
+ * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
+ * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
+ * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+ * modules/tsearch-tests (configure.ac): Likewise.
+
+2010-08-26 Bruno Haible <bruno@clisp.org>
+
+ Modernize AC_TRY_COMPILE invocations.
+ * m4/environ.m4 (gt_CHECK_VAR_DECL): Use AC_COMPILE_IFELSE instead of
+ AC_TRY_COMPILE.
+ * m4/iconv.m4 (gl_iconv_AC_DEFUN): Likewise.
+ * m4/intl.m4 (gt_CHECK_DECL): Likewise.
+ * m4/intmax.m4 (gt_TYPE_INTMAX_T): Likewise.
+ * m4/intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
+ * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise.
+ * m4/inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
+ * m4/locale_h.m4 (gl_LOCALE_H): Likewise.
+ * m4/lock.m4 (gl_LOCK): Likewise.
+ * m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Likewise.
+ * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
+ * m4/minmax.m4 (gl_MINMAX_IN_HEADER): Likewise.
+ * m4/setenv.m4 (gl_FUNC_UNSETENV): Likewise.
+ * m4/size_max.m4 (gl_SIZE_MAX): Likewise.
+ * m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Likewise.
+ * m4/stdarg.m4 (gl_STDARG_H): Likewise.
+ * m4/stdbool.m4 (AC_HEADER_STDBOOL): Likewise.
+ * m4/stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise.
+ * m4/visibility.m4 (gl_VISIBILITY): Likewise.
+ * m4/wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise.
+ * m4/wint_t.m4 (gt_TYPE_WINT_T): Likewise.
+ * m4/libunistring.m4 (gl_LIBUNISTRING_CORE): Likewise. Remove
+ extraneous semicolon.
+
+2010-08-26 Jim Meyering <meyering@redhat.com>
+
+ stat-time: relax license LGPL
+ * modules/stat-time (License): Change from GPL to LGPL,
+ with consent from all contributors, for use in libguile.
+ Requested by Ludovic Courtès.
+
+2010-08-26 Erik Faye-Lund <kusmabite@gmail.com>
+
+ poll: return immediately on POLLHUP.
+ * lib/poll.c (poll): Always set timeout before wait_timeout is
+ computed.
+
+2010-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix test-unlinkat, test-rmdir failure on AIX 5.3.
+ * tests/test-rmdir.h (test_rmdir_func): Also accept EEXIST for
+ rmdir ("dir/.//"), unlinkat.
+
+2010-08-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ stdbool: avoid spurious failure with modern xlc
+ * m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf.
+
+2010-08-24 Bruno Haible <bruno@clisp.org>
+
+ getloadavg: simplify code
+ * m4/getloadavg.m4 (gl_GETLOADAVG): Remove useless test of
+ gl_have_func. Update comments.
+
+2010-08-24 Eric Blake <eblake@redhat.com>
+
+ getloadavg: don't define SVR4 on cygwin
+ * m4/getloadavg.m4 (gl_GETLOADAVG): Sync with autoconf fix, to
+ only define SVR4 when -lkvm is required.
+ Reported by Yaakov Selkowitz.
+
+2010-08-24 Bruno Haible <bruno@clisp.org>
+
+ priv-set: fix comment
+ * lib/priv-set.c (priv_set_restore): Fix typo in comment.
+
+2010-08-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ priv-set: fix comments
+ * lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments
+ to match code, as suggested by David Bartley in:
+ http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html
+
+2010-08-23 Eric Blake <eblake@redhat.com>
+
+ stdbool: avoid rejecting clang
+ * m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf.
+ * tests/test-stdbool.c: Enable more tests if using the system
+ <stdbool.h> instead of the gnulib replacement.
+ (main): Move xlc bug test to a runtime test for all compilers.
+ Reported by Anders Kaseorg.
+
+ argz: fix shell quoting issue
+ * m4/argz.m4 (gl_FUNC_ARGZ): Allow for spaces in argument.
+ Reported by Charles Wilson.
+
+2010-08-22 Paolo Bonzini <bonzini@gnu.org>
+ Erik Faye-Lund <kusmabite@gmail.com>
+
+ poll, select: handle ERROR_BROKEN_PIPE.
+ * lib/poll.c (win32_compute_revents): Return POLLHUP when
+ PeekNamedPipe fails with ERROR_BROKEN_PIPE.
+ * lib/select.c (win32_compute_revents): Do not mark a pipe
+ as writeable if PeekNamedPipe fails with ERROR_BROKEN_PIPE.
+
+2010-08-22 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ fts: allow compilation with C++
+ * lib/fts_.h: Specify extern "C" linkage with C++.
+
+2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix gnulib-tool sed script de-commentation for AIX sed.
+ * gnulib-tool (sed_comments): Try indented comments, for AIX 5.3
+ sed.
+
+2010-08-17 Eric Blake <eblake@redhat.com>
+
+ test-stddef: test for (some) offsetof bugs
+ * tests/test-stddef.c: Enhance test to ensure correct type of
+ offsetof.
+ * doc/posix-headers/stddef.texi (stddef.h): Document a Solaris bug
+ that we are not fixing at this time.
+
+2010-08-15 Bruno Haible <bruno@clisp.org>
+
+ stpncpy: Allow stpncpy to be defined as a macro.
+ * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Don't attempt to redeclare stpncpy
+ if it's already correctly declared.
+ * lib/string.in.h (stpncpy): Undefine before redefining.
+ Reported by Jeremy Huddleston <jeremyhu@macports.org>.
+
+2010-08-14 Bruno Haible <bruno@clisp.org>
+
+ Rename module 'memxfrm' to 'amemxfrm'.
+ * lib/amemxfrm.h: Renamed from lib/memxfrm.h.
+ (amemxfrm): Renamed from memxfrm.
+ * lib/amemxfrm.c: Renamed from lib/memxfrm.h. Include amemxfrm.h.
+ (amemxfrm): Renamed from memxfrm.
+ * modules/amemxfrm: Renamed from modules/memxfrm. Update.
+ * NEWS: Mention the change.
+ * MODULES.html.sh (String handling <string.h>): Update.
+ * lib/unicase/u-casexfrm.h: Invoke amemxfrm instead of memxfrm.
+ * lib/unicase/u8-casexfrm.c: Include amemxfrm.h instead of memxfrm.h.
+ * lib/unicase/u16-casexfrm.c: Likewise.
+ * lib/unicase/u32-casexfrm.c: Likewise.
+ * lib/uninorm/u-normxfrm.h: Invoke amemxfrm instead of memxfrm.
+ * lib/uninorm/u8-normxfrm.c: Include amemxfrm.h instead of memxfrm.h.
+ * lib/uninorm/u16-normxfrm.c: Likewise.
+ * lib/uninorm/u32-normxfrm.c: Likewise.
+ * modules/unicase/u8-casexfrm (Depends-on): Add amemxfrm, remove
+ memxfrm.
+ * modules/unicase/u16-casexfrm (Depends-on): Likewise.
+ * modules/unicase/u32-casexfrm (Depends-on): Likewise.
+ * modules/uninorm/u8-normxfrm (Depends-on): Likewise.
+ * modules/uninorm/u16-normxfrm (Depends-on): Likewise.
+ * modules/uninorm/u32-normxfrm (Depends-on): Likewise.
+ Suggested by Paul Eggert.
+
+2010-08-14 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'astrxfrm'.
+ * modules/astrxfrm-tests: New file.
+ * tests/test-astrxfrm.c: New file.
+
+ New module 'astrxfrm'.
+ * lib/astrxfrm.h: New file.
+ * lib/astrxfrm.c: New file, based on lib/memxfrm.c.
+ * modules/astrxfrm: New file.
+
+2010-08-14 Reuben Thomas <rrt@sc3d.org>
+
+ regex: Tweak doc.
+ * doc/regex.texi (Overview): Don't mention regex.c.
+ (GNU Regular Expression Compiling): Likewise.
+ (Match-end-of-line Operator): Mention 'not_eol'.
+
+2010-08-14 Brian Gough <bjg@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ git-merge-changelog: add doc relating to use with bzr and hg.
+ * lib/git-merge-changelog.c: Add comments regarding bzr, hg, diff3.
+
+2010-08-14 Matthias Bolte <matthias.bolte@googlemail.com>
+
+ pthread: fix pthread.h creation for srcdir != builddir
+ * modules/pthread (Makefile.am): Fix the rule to work also in a
+ non-srcdir build.
+
+2010-08-13 Karl Berry <karl@gnu.org>
+
+ * doc/regex.texi (Predefined Syntaxes): @smallexample.
+ * doc/posix-*/*: force line break before @url of POSIX
+ specifications.
+ Suggested by Werner Lemberg.
+
+2010-08-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ strtod: fix const diagnostic
+ * lib/strtod.c (strtod): Don't assign const char * to char *,
+ as this elicits a warning from GCC when warnings are enabled.
+
+2010-08-10 Pádraig Brady <P@draigbrady.com>
+ and Eric Blake <eblake@redhat.com>
+
+ copy-acl: ignore ENOTSUP on HP-UX
+ * lib/acl-internal.h (ACL_NOT_WELL_SUPPORTED): Move definition up,
+ so that it is available for HP-UX.
+ * lib/copy-acl.c (qcopy_acl): Use it.
+ Reported by Patrick M. Callahan.
+
+2010-08-10 Eric Blake <eblake@redhat.com>
+
+ open, chown: relax license
+ * modules/open (License): Change to LGPLv2+, with consent by all
+ authors, for use in augeas.
+ * modules/chown (License): Likewise.
+ * modules/lchown (Likewise): Likewise.
+ Requested by Adam Stokes.
+
+2010-08-09 Karl Berry <karl@gnu.org>
+
+ * build-aux/ar-lib: new file, import from Automake.
+ * config/srclist.txt: autocheck for updates.
+
+2010-08-09 Eric Blake <eblake@redhat.com>
+
+ readlinkat: adjust client modules
+ * modules/areadlinkat (Depends-on): Use readlinkat, not
+ symlinkat.
+ * modules/areadlinkat-with-size (Depends-on): Likewise.
+
+ mknod: be more vocal about danger of running tests as root
+ * m4/mknod.m4 (gl_FUNC_MKNOD): Make it harder to run configure as
+ root, since that is just asking for problems.
+ Suggested by Bruno Haible, based on a report by Rainer Tammer.
+
+ readlinkat: split into its own module
+ * modules/symlinkat: Split readlinkat...
+ * modules/readlinkat: ...into separate module.
+ * m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Move readlinkat check...
+ * m4/readlinkat.m4 (gl_FUNC_READLINAT): ...to new file.
+ * lib/symlinkat.c (readlinkat): Move...
+ * lib/readlinkat.c: ...into new file.
+ * modules/symlinkat-tests: Split readlinkat test...
+ * modules/readlinkat-tests: ...into separate module.
+ * tests/test-symlinkat.c: Split...
+ * tests/test-readlinkat.c: ...into new file.
+ * NEWS: Document the split.
+ * doc/posix-functions/readlinkat.texi (readlinkat): Likewise.
+ * lib/unistd.in.h (readlinkat): Likewise.
+ Suggested by Bruno Haible.
+
+2010-08-08 Bruno Haible <bruno@clisp.org>
+
+ memxfrm: Speed up.
+ * lib/memxfrm.c (memxfrm): Allocate enough memory ahead of time, so
+ that usually only one call to strxfrm is necessary for each string
+ part.
+ Reported by Paul Eggert <eggert@cs.ucla.edu>.
+
+2010-08-07 Karl Berry <karl@gnu.org>
+
+ * doc/posix-headers/limits.texi,
+ * doc/posix-functions/malloc.texi,
+ * doc/posix-functions/strsignal.texi: missing @item.
+ * doc/ld-version-script.texi: spurious leading i.
+ * doc/regex.texi (Interval Operators): no commas inside @var.
+
+2010-08-01 Bruno Haible <bruno@clisp.org>
+
+ Integrate the regex documentation.
+ * doc/gnulib.texi: Define 'cn' index.
+ (Regular expressions): New a chapter that includes regex.texi and
+ regexprops-generic.texi.
+ * doc/regex.texi: Remove boilerplate stuff. Use simplified @node
+ syntax.
+
+ Whitespace cleanup.
+ * doc/regex.texi: Remove trailing spaces.
+
+ Add regex documentation.
+ * doc/regex.texi: New file. Taken from regex-0.12/doc/regex.texi in
+ http://ftp.gnu.org/old-gnu/regex/regex-0.12.tar.gz.
+ Written by Kathy A. Hargreaves and Karl Berry.
+
+2010-08-01 Bruno Haible <bruno@clisp.org>
+
+ link: Update documentation.
+ * doc/posix-functions/link.texi: Update regarding Solaris.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ Update modules list.
+ * MODULES.html.sh (Sorting functions <stdlib.h>): Add array-mergesort.
+ (String handling <string.h>): Add memcmp2, memxfrm.
+ (Container data structures): Add xlist, xsublist, xoset.
+ (Core language properties): Add alignof, unused-parameter.
+ (Process control, Numeric conversion functions <stdlib.h>): Renamed
+ from Numeric conversion functions <stdlib.h>. Add _Exit, atoll.
+ (Unibyte characters <ctype.h>): New section.
+ (String handling <string.h>): New section.
+ (Mathematics <math.h>): Add acos, acosl, asin, asinl, atan, atan2,
+ atanl, cbrt, copysign, cos, cosh, cosl, erf, erfc, exp, expl, fabs,
+ fmod, hypot, j0, j1, jn, ldexp, lgamma, log, log10, log1p, logb, logl,
+ modf, nextafter, pow, remainder, rint, sin, sinh, sinl, sqrt, sqrtl,
+ tan, tanh, tanl, y0, y1, yn.
+ (Support for systems lacking POSIX:2008): Add alphasort, dirent,
+ dprintf, dprintf-posix, duplocale, fcntl, getlogin, getopt-posix,
+ grantpt, iconv-h, ioctl, isblank, langinfo, nl_langinfo, pread,
+ ptsname, pwrite, scandir, servent, sys_utsname, ttyname_r, uname,
+ unlockpt, vdprintf, vdprintf-posix.
+ (Enhancements for POSIX:2008 functions): Add getopt-gnu. Remove getopt.
+ (File system functions): Add concat-filename, sys_file, sys_ioctl,
+ xconcat-filename.
+ (File descriptor based Input/Output): Add dup3, fd-safer-flag,
+ getdtablesize, pipe2, pipe2-safer.
+ (Security): New section.
+ (Networking functions): Add accept4.
+ (Signal handling): Add sigpipe.
+ (Internationalization functions): Add xstriconveh, mbmemcasecmp,
+ mbmemcasecoll.
+ (Unicode string functions): Add libunistring-optional, unistr/u*-cmp2,
+ unistr/u*-strcoll, uniwbrk/*, uninorm/*, unicase/*.
+ (Executing programs): Add findprog-lgpl, pipe-filter-gi,
+ pipe-filter-ii.
+ (Misc): Add argp-version-etc, login_tty, parse-duration.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ Improve doc in MODULES.html.
+ * modules/linkat (Description): Add the word "function".
+ * modules/mkfifo (Description): Likewise.
+ * modules/mknod (Description): Likewise.
+ * modules/remove (Description): Likewise.
+ * modules/renameat (Description): Likewise.
+ * modules/stat (Description): Likewise.
+ * modules/symlink (Description): Likewise.
+ * modules/unlink (Description): Likewise.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ ansi-c++-opt: Provide option --enable-c++/--disable-c++ when possible.
+ * m4/ansi-c++.m4 (gl_CXX_CHOICE): In Autoconf 2.66 or newer, provide
+ option --enable/disable-c++ instead of --enable/disable-cxx.
+ * NEWS: Mention the change.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ readlink, areadlink: Relax test a bit.
+ * tests/test-readlink.h (test_readlink): Accept EINVAL as an
+ alternative to ENOTDIR.
+ * tests/test-areadlink.h (test_areadlink): Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strstr, unistr/u16-strstr: Optimize the one-character case.
+ * lib/unistr/u-strstr.h (FUNC): When the needle contains only one
+ character, perform the search using U_STRCHR.
+ * lib/unistr/u8-strstr.c (U_STRMBTOUC): New macro.
+ * lib/unistr/u16-strstr.c (U_STRMBTOUC): Likewise.
+ * modules/unistr/u8-strstr (Depends-on): Add unistr/u8-strmbtouc.
+ * modules/unistr/u16-strstr (Depends-on): Add unistr/u16-strmbtouc.
+ Suggested by Paolo Bonzini.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ unistr/u*-strstr: Fix dependencies.
+ * modules/unistr/u8-strstr (Depends-on): Add unistr/u8-strchr.
+ * modules/unistr/u16-strstr (Depends-on): Add unistr/u16-strchr.
+ * modules/unistr/u32-strstr (Depends-on): Add unistr/u32-strchr.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
+ * lib/unistr/u8-chr.c (u8_chr): Add comments. Remove a useless test at
+ the beginning of the loop.
+ * lib/unistr/u8-strchr.c (u8_strchr): Add comments. Don't fall through
+ cases in 'switch' statement.
+
+ unistr/u8-strchr: Fix several bugs.
+ * lib/unistr/u8-strchr.c (u8_strchr): Don't search beyond the end of
+ the string. When not found, return NULL, not a pointer near the end.
+
+ More tests for unistr/u8-strchr.
+ * tests/unistr/test-strchr.h (test_strchr): Renamed from main. Check
+ that the function does not read past the first occurrence of the byte
+ being searched.
+ * tests/unistr/test-u8-strchr.c (main): New function, with more tests.
+ * tests/unistr/test-u16-strchr.c (main): New function.
+ * tests/unistr/test-u32-strchr.c (main): New function.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ posix-modules: Ignore backup files of documentation files.
+ * posix-modules: grep only through files named *.texi.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ symlinkat: Fix documentation.
+ * doc/posix-functions/readlinkat.texi: Fix module name.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ fchownat: Replace also when chown has the trailing slash bug.
+ * m4/openat.m4 (gl_FUNC_FCHOWNAT): Move the test of REPLACE_CHOWN
+ outside the gl_FUNC_FCHOWNAT_DEREF_BUG invocation. Fixes regression
+ introduced on 2010-04-10.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ linkat: Work around AIX 7.1 bug.
+ * m4/linkat.m4 (gl_FUNC_LINKAT): Require AC_CANONICAL_HOST. Test
+ whether linkat handles trailing slash correctly. If not, replace linkat
+ and define LINKAT_TRAILING_SLASH_BUG.
+ * lib/linkat.c (rpl_linkat): If LINKAT_TRAILING_SLASH_BUG is defined,
+ check whether (fd1,file1) points to a directory if file1 or file2 ends
+ in a slash. Code taken from lib/link.c.
+ * doc/posix-functions/linkat.texi: Mention trailing slash bug.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ Correctly determine whether pow is available in libc on AIX 7 with xlc.
+ * m4/mathfunc.m4 (gl_MATHFUNC): Actually use the 'funcptr' variable.
+ This disables an xlc optimization that was causing wrong test results.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ iconv: Work around AIX 6.1..7.1 bug.
+ * doc/posix-functions/iconv.texi: Mention AIX 6.1, 7.1 bug.
+ * m4/iconv.m4 (AM_ICONV_LINK): Test against AIX 6.1, 7.1 bug. When
+ cross-compiling, guess no on all versions of AIX.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ readlink: Relax test a bit.
+ * tests/test-readlink.h (test_readlink): Allow different errno value
+ when readlink is called with a file name that ends in / and refers to
+ a file.
+ Suggested by Eric Blake.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ copysign: Does not require -lm on glibc systems.
+ * modules/copysign (configure.ac): Use gl_MATHFUNC, not
+ gl_COMMON_DOUBLE_MATHFUNC.
+ * m4/mathfunc.m4 (gl_COMMON_DOUBLE_MATHFUNC): Update comments.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ duplocale: Work around AIX 7.1 bug.
+ * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Let the test fail also when
+ duplocale(LC_GLOBAL_LOCALE) returns (locale_t)0.
+ * lib/duplocale.c (rpl_duplocale): Update comment.
+ * doc/posix-functions/duplocale.texi: Mention the AIX 7.1 bug.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ dirfd: Avoid link error on AIX 7.1.
+ * lib/dirent.in.h (dirfd): Use modern idiom with REPLACE_DIRFD.
+ * m4/dirfd.m4 (gl_FUNC_DIRFD): If the function is declared but does not
+ exist, set REPLACE_DIRFD.
+ * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize REPLACE_DIRFD.
+ * modules/dirent (Makefile.am): Substitute REPLACE_DIRFD.
+ * doc/posix-functions/dirfd.texi: Update.
+ Reported by Rainer Tammer.
+
+2010-07-30 Eric Blake <eblake@redhat.com>
+
+ strtod: next round of AIX fixes
+ * lib/strtod.c (strtod): Work around AIX bug of parsing p with no
+ exponent.
+ * tests/test-strtod.c (main): Enhance tests.
+ * doc/posix-functions/strtod.texi (strtod): Document next bug.
+ Reported by Rainer Tammer.
+
+ futimens: fix configure check
+ * m4/futimens.m4 (gl_FUNC_FUTIMENS): Use correct logic.
+ Reported by Bruno Haible.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ getline: Update regarding AIX.
+ * doc/posix-functions/getline.texi: Mention bug on AIX 7.1.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ wcwidth: Drop replacement on AIX 7.
+ * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): When cross-compiling, guess yes on
+ AIX 7.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
+ * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Don't cast an invalid address to
+ a 'char *'.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ unlink: Update regarding AIX.
+ * doc/posix-functions/unlink.texi: Mention bug on AIX 7.1.
+ * m4/unlink.m4 (gl_FUNC_UNLINK): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ symlink: Update regarding AIX.
+ * doc/posix-functions/symlink.texi: Mention bug on AIX 7.1.
+ * m4/symlink.m4 (gl_FUNC_SYMLINK): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ strndup: Update regarding AIX.
+ * m4/strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, guess yes on
+ AIX 7.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ stat: Update regarding AIX.
+ * doc/posix-functions/stat.texi: Mention bug on AIX 7.1.
+ * m4/stat.m4 (gl_FUNC_STAT): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ truncl: Fix autoconf test.
+ * m4/truncl.m4 (gl_FUNC_TRUNCL): Add TRUNCL_LIBM to LIBS while testing
+ whether truncl works.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ round: Update regarding AIX.
+ * m4/round.m4 (gl_FUNC_ROUND): When cross-compiling, guess no on AIX 7.
+ * doc/posix-functions/round.texi: Mention bug on AIX 7.1.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ rename: Update regarding AIX.
+ * doc/posix-functions/rename.texi: Mention bug on AIX 7.1.
+ * m4/rename.m4 (gl_FUNC_RENAME): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ printf.m4: Update regarding AIX.
+ * m4/printf.m4: Update comments regarding AIX.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ iconv: Update regarding AIX.
+ * m4/iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on
+ AIX 7.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ getopt: Update regarding AIX.
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): When cross-compiling, guess
+ no on AIX.
+ * doc/posix-functions/getopt.texi: Mention that AIX has the optind bug.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ ldexpl; Update regarding AIX.
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): When cross-compiling, guess yes
+ on AIX 7.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ frexpl: Update regarding AIX.
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): When cross-compiling, guess yes
+ on AIX 7.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ open, fopen: Update regarding AIX.
+ * m4/open.m4 (gl_FUNC_OPEN): Adjust cross-compiling guess for AIX.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise.
+ * doc/posix-functions/open.texi: Mention the trailing-slash bug on AIX.
+ * doc/posix-functions/fopen.texi: Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ chown: Update doc regarding AIX.
+ * doc/posix-functions/chown.texi: Mention bug on AIX 7.1.
+ * m4/chown.m4 (gl_FUNC_CHOWN): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Eric Blake <eblake@redhat.com>
+
+ strtod: fix bug in replacement function on AIX
+ * lib/strtod.c (strtod): Special case broken "0x" parse in
+ underlying strtod.
+ * tests/test-strtod.c (main): Document AIX 7.1 bugs.
+ * doc/posix-functions/strtod.texi (strtod): Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ mbrlen: Fix cross-compilation guess for AIX.
+ * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE): Fix cross-compilation
+ guess. Leftover from 2008-12-22.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ mbrtowc: Fix cross-compilation guess for AIX.
+ * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Fix cross-compilation
+ guess. Leftover from 2008-12-21.
+
+2010-07-29 Peter O'Gorman <pogma@thewrittenword.com> (tiny change)
+
+ init.sh: work around trap limitation of some shells
+ * tests/init.sh (setup_): Move exit trap outside of shell function.
+
+2010-07-29 Eric Blake <eblake@redhat.com>
+
+ strtod: aid debugging
+ * m4/strtod.m4(gl_FUNC_STRTOD): Use distinct exit status to aid
+ understanding why strtod is rejected.
+
+2010-07-28 Bruno Haible <bruno@clisp.org>
+
+ unistr/u*-chr, unistr/u*-strchr: Fix link errors and warnings.
+ * lib/unistr/u8-chr.c: Include <string.h>.
+ * tests/unistr/test-u8-chr.c: Likewise.
+ * tests/unistr/test-u16-chr.c: Likewise.
+ * tests/unistr/test-u32-chr.c: Likewise.
+ * tests/unistr/test-u8-strchr.c: Likewise.
+ * tests/unistr/test-u16-strchr.c: Likewise.
+ * tests/unistr/test-u32-strchr.c: Likewise.
+ * modules/unistr/u8-chr-tests (Depends-on): Add unistr/u32-set.
+ * modules/unistr/u16-chr-tests (Depends-on): Likewise.
+ * modules/unistr/u8-strchr-tests (Depends-on): Likewise.
+ * modules/unistr/u16-strchr-tests (Depends-on): Likewise.
+
+2010-07-28 Bruno Haible <bruno@clisp.org>
+
+ Use spaces for indentation, not tabs.
+ * lib/**/*.[hcy] except lib/reg*.[hc]: Untabify.
+
+2010-07-27 Bruno Haible <bruno@clisp.org>
+
+ mbspcasecmp: Fix function specification.
+ * lib/string.in.h (mbspcasecmp): Fix specification comment.
+ * lib/mbspcasecmp.c (mbspcasecmp): Likewise.
+ Reported by Eric Blake <eblake@redhat.com>.
+
+2010-07-26 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ timespec: use cast and not conditional, as truncation isn't possible
+ * lib/timespec.h (timespec_cmp): Use cast to pacify gcc -Wconversion
+ instead of a conditional. Comment about the situation in more detail.
+ This undoes most of the 2009-10-29 patch.
+
+2010-07-23 Paolo Bonzini <pbonzini@redhat.com>
+
+ unistr/u8-chr, unistr/u8-strchr: use Boyer-Moore like algorithm.
+ * lib/unistr/u8-chr.c: Add Boyer-Moore like operation.
+ * lib/unistr/u8-strchr.c: Likewise.
+ * modules/unistr/u8-chr: Depend on memchr.
+
+ unistr/u*-strchr: add tests
+ * modules/unistr/u8-strchr-tests: New file.
+ * modules/unistr/u16-strchr-tests: New file.
+ * modules/unistr/u32-strchr-tests: New file.
+ * tests/unistr/test-strchr.h: New file.
+ * tests/unistr/test-u8-strchr.c: New file.
+ * tests/unistr/test-u16-strchr.c: New file.
+ * tests/unistr/test-u32-strchr.c: New file.
+
+ unistr/u*-chr: test multibyte sequences more
+ * tests/unistr/test-chr.h: Do complete testing of the characters in the
+ test vector.
+ * tests/unistr/test-u8-chr.c (U_UCTOMB): Define.
+ * tests/unistr/test-u16-chr.c (U_UCTOMB): Likewise.
+ * tests/unistr/test-u32-chr.c (U_UCTOMB): Likewise.
+
+ unistr/u*-chr: test multibyte sequences
+ * tests/unistr/test-chr.h: Put characters above 0-127 in the test input.
+
+ unistr/u*-chr: prepare for multibyte tests
+ * modules/unistr/u8-chr-tests: Depend on u32-to-u8.
+ * modules/unistr/u16-chr-tests: Depend on u32-to-u16.
+ * tests/unistr/test-chr.h: Build initial version as UCS-4 then convert.
+ * tests/unistr/test-u8-chr.c (U32_TO_U): Define.
+ * tests/unistr/test-u16-chr.c (U32_TO_U): Likewise.
+ * tests/unistr/test-u32-chr.c (U32_TO_U): Likewise.
+
+2010-07-18 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strchr: Optimize non-ASCII argument case.
+ * lib/unistr/u8-strchr.c (u8_strchr): Compare the last byte first,
+ because the first byte often matches anyway.
+ Reported by Pádraig Brady <P@draigbrady.com>.
+
+2010-07-15 Karl Berry <karl@gnu.org>
+
+ * config/srclist.txt (fdl.texi): only one copy, from gnustandards.
+
+2010-07-14 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ getcwd: on Solaris, work better if ancestors are inaccessible
+ * lib/getcwd.c (__getcwd): If getcwd returns EINVAL for zero
+ buffer and size, try again with a large buffer. This works better
+ on Solaris, since its getcwd succeeds even if the path to the root
+ is inaccessible, and this is helpful in common cases such as .zfs
+ hidden directories. Problem reported by J Chapman Flack in
+ http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00000.html
+ Use system getcwd if it's declared, not merely if it's partly
+ working; use the partly-working test only to avoid needless effort
+ if the system getcwd fails.
+ * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Omit
+ comment that was already obsolete and is now even more obsolete.
+ * modules/getcwd (Depends-on): Depend on strdup, since __getcwd
+ now might call strdup.
+
+2010-07-13 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ pthread: Add enough so that coreutils/src/sort.c compiles.
+ * lib/pthread.in.h: Add self to author comment. Conditionalize on
+ _GL_PTHREAD_H, not PTHREAD_H_, for consistency with the rest of
+ gnulib. Include <sched.h> and <time.h>, as per POSIX.
+ Include <sys/types.h>, in case it defines pthread_t.
+ (pthread_t, pthread_attr_t, pthread_barrier_t, pthread_barrierattr_t):
+ (pthread_cond_t, pthread_condattr_t, pthread_key_t, pthread_mutex_t):
+ (pthread_mutexattr_t, pthread_once_t, pthread_rwlock_t):
+ (pthread_rwlockattr_t, pthread_spinlock_t):
+ New typedefs, if HAVE_PTHREAD_T is not defined.
+ (PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER):
+ (PTHREAD_ONCE_INIT, PTHREAD_RWLOCK_INITIALIZER):
+ (PTHREAD_BARRIER_SERIAL_THREAD, PTHREAD_CANCEL_DEFERRED):
+ (PTHREAD_CANCEL_ASYNCHRONOUS, PTHREAD_CANCEL_ENABLE):
+ (PTHREAD_CANCEL_DISABLE, PTHREAD_CANCELED, PTHREAD_CREATE_JOINABLE):
+ (PTHREAD_CREATE_DETACHED, PTHREAD_INHERIT_SCHED):
+ (PTHREAD_EXPLICIT_SCHED, PTHREAD_MUTEX_DEFAULT, PTHREAD_MUTEX_NORMAL):
+ (PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE):
+ (PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_PRIO_NONE):
+ (PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT, PTHREAD_PROCESS_PRIVATE):
+ (PTHREAD_PROCESS_SHARED, PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS):
+ New macros.
+ (pthread_cond_destroy, pthread_cond_init, pthread_cond_signal):
+ (pthread_cond_wait, pthread_exit, pthread_mutex_destroy):
+ (pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock):
+ (pthread_spin_init, pthread_spin_lock, pthread_spin_trylock);
+ (pthread_spin_unlock): New dummy functions.
+ (pthread_create): Return EAGAIN; don't set errno.
+ * m4/pthread.m4 (gl_PTHREAD_CHECK): Check for pthread_t, and
+ require AC_C_INLINE.
+ * modules/pthread (Depends-on): Add sched, time.
+ (pthread.h): Use AM_V_GEN.
+
+2010-07-13 Bruno Haible <bruno@clisp.org>
+
+ striconveh: Don't malloc memory if the result buffer is sufficient.
+ * lib/striconveh.c (mem_cd_iconveh_internal): Use the provided result
+ buffer if its size is sufficient.
+ Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-07-13 Bruno Haible <bruno@clisp.org>
+
+ strtod: Add safety check.
+ * lib/strtod.c (ldexp): Abort if this dummy replacement gets called.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_ldexpl_no_libm.
+ * m4/ldexpl.m4 (gl_CHECK_LDEXPL_NO_LIBM): New macro, extracted from
+ gl_FUNC_LDEXPL.
+ (gl_FUNC_LDEXPL): Invoke it.
+ * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_ldexp_no_libm.
+ * m4/ldexp.m4: New file, based on m4/mathfunc.m4.
+ * m4/strtod.m4 (gl_PREREQ_STRTOD): Require gl_CHECK_LDEXP_NO_LIBM.
+ * modules/ldexp (Files): Remove m4/mathfunc.m4. Add m4/ldexp.m4.
+ (configure.ac): Simply invoke gl_FUNC_LDEXP.
+ * modules/strtod (Files): Add m4/ldexp.m4.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_frexpl_no_libm.
+ * m4/frexpl.m4 (gl_CHECK_FREXPL_NO_LIBM): New macro, extracted from
+ gl_FUNC_FREXPL_NO_LIBM.
+ (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Invoke it.
+ * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_frexp_no_libm.
+ * m4/frexp.m4 (gl_CHECK_FREXP_NO_LIBM): New macro, extracted from
+ gl_FUNC_FREXP_NO_LIBM.
+ (gl_FUNC_FREXP, gl_FUNC_FREXP_NO_LIBM): Require it.
+ * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Likewise.
+
+2010-07-12 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ memcoll: clarify sizes versus lengths, document better, and tweak perf
+ * lib/memcoll.c (strcoll_loop, memcoll0):
+ Improve quality of descriptive comments. Name variables
+ consistently as to whether they are lengths (which do not include
+ terminating null) versus sizes (which do).
+ * lib/xmemcoll.c (xmemcoll0): Likewise.
+ * lib/memcoll.c (strcoll_loop): Tweak the way that the diff is
+ returned when s1size == 0; this is easier to compile and saves
+ about 17% of memcoll's code space on x86-64 with GCC 4.1.2.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Tests for module '_Exit'.
+ * modules/_Exit-tests: New file.
+ * tests/test-_Exit.sh: New file.
+ * tests/test-_Exit.c: New file.
+
+ New module '_Exit'.
+ * lib/stdlib.in.h (__attribute__): New macro.
+ (_Exit): New declaration.
+ * lib/_Exit.c: New file.
+ * m4/_Exit.m4: New file.
+ * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether _Exit is declared.
+ (gl_STDLIB_H_DEFAULTS): Initialize GNULIB__EXIT and HAVE__EXIT.
+ * modules/stdlib (Makefile.am): Substitute GNULIB__EXIT and HAVE__EXIT.
+ * modules/_Exit: New file.
+ * tests/test-stdlib-c++.cc (_Exit): Check signature.
+ * doc/posix-functions/_Exit_C99.texi: Mention the new module.
+
+2010-07-12 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ strtod: make it more-accurate typically, and don't require libm
+ * lib/strtod.c (_GL_ARG_NONNULL): Remove; no longer needed.
+ Include limits.h. Don't include string.h.
+ (HAVE_LDEXP_IN_LIBC, HAVE_RAW_DECL_STRTOD): Define to 0 if not defined.
+ (locale_isspace): New function, so that no casts are needed to
+ check whether *s is a space.
+ (ldexp): Provide an unused dummy if not available.
+ (scale_radix_exp, parse_number, underlying_strtod): New functions.
+ (strtod): Use them. This implementation prefers to use the
+ underlying strtod if available, falling back on our own code
+ only to fix known bugs. This is more likely to produce an
+ accurate result. Also, it avoids the use of libm functions.
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Don't invoke _AC_LIBOBJ_STRTOD;
+ no longer needed. Invoke AC_LIBOBJ([strtod]); don't know why this
+ was absent, but it caused a test failure with coreutils.
+ (gl_PREREQ_STRTOD): Check wither ldexp can be used without linking
+ with libm.
+ * modules/strtod (Makefile.am, Link): libm is no longer needed.
+ * modules/strtod-tests (Makefile.am): Likewise.
+
+2010-07-11 Pádraig Brady <P@draigBrady.com>
+ Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strchr: Optimize ASCII argument case.
+ * lib/unistr/u8-strchr.c (u8_strchr): For ASCII arguments, use strchr.
+
+2010-07-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ (x)memcoll: minor tweaks
+ * lib/memcoll.c (strcoll_loop): Prefer the style where 'const'
+ is after the type that it qualifies.
+ (memcoll0): Likewise.
+ * lib/memcoll.h (memcoll0): Likewise.
+ * lib/xmemcoll.c (collate_error, xmemcoll0): Likewise.
+ * lib/xmemcoll.h (xmemcoll0): Likewise.
+ * lib/memcoll.c (memcoll0): Correct the comment. This function
+ differs from memcoll in that the NUL byte is part of the argument.
+ Omit the abort-checks, as performance is a real issue here. Plus,
+ the checks were wrong anyway (an off-by-one error). Omit local
+ variable 'diff', as it's a bit clearer that way.
+ * m4/memcoll.m4 (gl_MEMCOLL): Omit AC_FUNC_STRCOLL, as it's
+ no longer needed.
+
+2010-07-08 Chen Guo <chenguo4@yahoo.com>
+
+ (x)memcoll: speedup when input is known to be NUL delimited
+ * lib/memcoll.c: Include stdlib.
+ (memcoll0) New function.
+ (strcoll_loop) New function, refactored for use in both memcoll
+ and memcoll0.
+ * lib/memcoll.h: Add prototype for memcoll0.
+ * lib/xmemcoll.c: (xmemcoll0) New function.
+ (collate_error) New function, refactored for use in both xmemcoll
+ and xmemcoll0.
+ * lib/xmemcoll.h: Add prototype for xmemcoll0.
+ * m4/memcoll.m4: add inline invocation.
+
+2010-07-06 Pádraig Brady <P@draigBrady.com>
+
+ * build-aux/bootstrap: Remove any local translations
+ from the translation project synchronization directory,
+ so that local only translations are not distributed.
+
+2010-07-04 Bruno Haible <bruno@clisp.org>
+
+ fsusage: Clarify which code applies to which platforms.
+ * m4/fsusage.m4 (gl_FSUSAGE): Clarify which test succeeds on which
+ platform.
+ * lib/fsusage.c (get_fs_usage): Likewise.
+
+2010-07-04 Bruno Haible <bruno@clisp.org>
+
+ havelib: Fix bug when AC_LIB_FROMPACKAGE is used more than twice.
+ * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): Use m4_defn.
+ Reported by Martin Lambers <marlam@marlam.de>.
+
+2010-07-04 Jim Meyering <meyering@redhat.com>
+
+ hash: once again explicitly disallow insertion of NULL
+ * lib/hash.c (hash_insert0): Reinstate just-removed test:
+ inserting a NULL pointer cannot work with these functions.
+ Add a comment with details.
+ This reverts part of the 2010-07-01 commit, 5bef1a35
+ "hash: extend module to deal with non-pointer keys".
+
+2010-07-01 Bruno Haible <bruno@clisp.org>
+
+ stdbool: Update doc.
+ * doc/posix-headers/stdbool.texi: Mention OpenBSD bug.
+ Info from Christian Weisgerber <naddy@mips.inka.de>.
+
+2010-07-01 Jim Meyering <meyering@redhat.com>
+
+ hash: extend module to deal with non-pointer keys
+ * lib/hash.c (hash_insert0): New interface, much like hash_insert
+ but that allows insertion of non-pointer entries.
+ Do not disallow an ENTRY value of NULL.
+ (hash_insert): This is now just a thin wrapper. Call hash_insert0.
+ * lib/hash.h (hash_insert0): Declare.
+
+2010-07-01 Christian Weisgerber <naddy@mips.inka.de> (tiny change)
+
+ gettext: Use AC_GNU_SOURCE as a fallback for AC_USE_SYSTEM_EXTENSIONS.
+ * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): When AC_USE_SYSTEM_EXTENSIONS is
+ not present (i.e. with autoconf 2.59 and when using gettextize, not
+ gnulib), require AC_GNU_SOURCE instead.
+
+2010-07-01 Ian Beckwith <ianb@erislabs.net>
+
+ idpriv-drop: Fix tests.
+ * tests/test-idpriv-drop.su.sh: Refer to the test-idpriv-drop program,
+ not to the test-idpriv-droptemp program.
+
+2010-06-29 Bruno Haible <bruno@clisp.org>
+
+ string: Fix syntax error with g++ 2.96.
+ * lib/string.in.h (__pure__): Remove definition.
+ (_GL_ATTRIBUTE_PURE): New macro.
+ (memchr, memmem, memrchr, rawmemchr, strchrnul, strnlen, strpbrk,
+ strstr, strcasestr): Use it instead of __attribute__ ((__pure__)).
+ Reported by Christian Weisgerber <naddy@mips.inka.de>.
+
+2010-06-28 Ian Beckwith <ianb@erislabs.net>
+
+ unitypes: Fix bug introduced on 2010-05-18.
+ * modules/unitypes (Files): Really add m4/libunistring-base.m4.
+
+2010-06-22 Eric Blake <eblake@redhat.com>
+
+ memmem: slight optimization
+ * lib/str-two-way.h (critical_factorization): Update comments.
+ Reduce work during factorization phase.
+ Reported by Carlos Bueno <carlos@bueno.org>.
+
+2010-06-21 Bruno Haible <bruno@clisp.org>
+
+ Fix HAVE_CALLOC_POSIX misnomer.
+ * lib/stdlib.in.h (calloc): Use REPLACE_CALLOC instead of
+ !HAVE_CALLOC_POSIX.
+ * m4/calloc.m4 (gl_REPLACE_CALLOC): Set REPLACE_CALLOC instead of
+ HAVE_CALLOC_POSIX.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_CALLOC
+ instead of HAVE_CALLOC_POSIX.
+ * modules/stdlib (Makefile.am): Substitute REPLACE_CALLOC instead of
+ HAVE_CALLOC_POSIX.
+
+ Use modern idiom for calloc() replacement.
+ * modules/calloc (configure.ac): Invoke gl_FUNC_CALLOC_GNU instead of
+ AC_FUNC_CALLOC.
+ * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): Renamed from AC_FUNC_CALLOC.
+ Require gl_STDLIB_H_DEFAULTS. Invoke gl_REPLACE_CALLOC.
+ (gl_FUNC_CALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize
+ HAVE_CALLOC_POSIX. Invoke gl_REPLACE_CALLOC.
+ (gl_REPLACE_CALLOC): New macro.
+
+2010-06-21 Bruno Haible <bruno@clisp.org>
+
+ Fix HAVE_REALLOC_POSIX misnomer.
+ * lib/stdlib.in.h (realloc): Use REPLACE_REALLOC instead of
+ !HAVE_REALLOC_POSIX.
+ * m4/realloc.m4 (gl_REPLACE_REALLOC): Set REPLACE_REALLOC instead of
+ HAVE_REALLOC_POSIX.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_REALLOC
+ instead of HAVE_REALLOC_POSIX.
+ * modules/stdlib (Makefile.am): Substitute REPLACE_REALLOC instead of
+ HAVE_REALLOC_POSIX.
+
+ Use modern idiom for realloc() replacement.
+ * modules/realloc (configure.ac): Invoke gl_FUNC_REALLOC_GNU instead of
+ AC_FUNC_REALLOC.
+ * m4/realloc.m4 (gl_FUNC_REALLOC_GNU): New macro, mostly copied from
+ Autoconf's AC_FUNC_REALLOC.
+ (gl_FUNC_REALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize
+ HAVE_REALLOC_POSIX. Invoke gl_REPLACE_REALLOC.
+ (gl_REPLACE_REALLOC): New macro.
+ Reported by Richard Lloyd <richard.lloyd@connectinternetsolutions.com>.
+
+2010-06-21 Bruno Haible <bruno@clisp.org>
+
+ Fix HAVE_MALLOC_POSIX misnomer.
+ * lib/stdlib.in.h (malloc): Use REPLACE_MALLOC instead of
+ !HAVE_MALLOC_POSIX.
+ * m4/malloc.m4 (gl_REPLACE_MALLOC): Set REPLACE_MALLOC instead of
+ HAVE_MALLOC_POSIX.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_MALLOC
+ instead of HAVE_MALLOC_POSIX.
+ * modules/stdlib (Makefile.am): Substitute REPLACE_MALLOC instead of
+ HAVE_MALLOC_POSIX.
+
+ Use modern idiom for malloc() replacement.
+ * modules/malloc (configure.ac): Invoke gl_FUNC_MALLOC_GNU instead of
+ AC_FUNC_MALLOC.
+ * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): New macro, mostly copied from
+ Autoconf's AC_FUNC_MALLOC.
+ (gl_FUNC_MALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize
+ HAVE_MALLOC_POSIX. Invoke gl_REPLACE_MALLOC.
+ (gl_REPLACE_MALLOC): New macro.
+ Reported by Richard Lloyd <richard.lloyd@connectinternetsolutions.com>.
+
+2010-06-20 Richard Lloyd <richard.lloyd@connectinternetsolutions.com>
+
+ stdio.in.h: fix compilation failure when using HP-UX 11's C compiler
+ * lib/stdio.in.h: Remove excess _GL_CXXALIAS_RPL macro argument.
+ This macro takes 3 arguments, not 4.
+
+2010-06-15 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ ipv6: fix detection under mingw
+ * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include <ws2tcpip.h> for struct
+ in6_addr.
+
+2010-06-14 Ben Pfaff <blp@cs.stanford.edu>
+
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Factor out common code. Assume
+ that strtod() works when cross-compiling to a glibc version known
+ to work.
+
+2010-06-15 Bruno Haible <bruno@clisp.org>
+
+ * m4/strtod.m4 (gl_FUNC_STRTOD): Stop using AC_FUNC_STRTOD.
+
+2010-06-15 René Berber <r.berber@computer.org> (tiny change)
+
+ select: Correct timeout.
+ * lib/select.c (rpl_select): Compute wait_timeout correctly.
+
+2010-06-14 Thien-Thi Nguyen <ttn@gnuvola.org> (tiny change)
+
+ git-version-gen: init shell var to avoid env var influence
+ * build-aux/git-version-gen (v): Init shell var to empty.
+
+2010-06-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ priv-set: Don't assume that priv.h exists merely because getppriv does.
+ See Jan Andersen's bug report about AIX 5L in
+ http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00019.html
+ * m4/priv-set.m4 (gl_PRIV_SET): Check for priv.h.
+ * lib/priv-set.c: Do nothing unless HAVE_PRIV_H.
+ * lib/priv-set.h: Likewise.
+ * tests/test-priv-set.c: Likewise.
+
+2010-06-13 Bruno Haible <bruno@clisp.org>
+
+ relocatable: Make it easier to test whether to install wrappers.
+ * m4/relocatable.m4 (gl_RELOCATABLE_BODY): New automake conditional
+ RELOCATABLE_VIA_WRAPPER.
+
+2010-06-13 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Display specified modules and dependencies differently.
+ * gnulib-tool (func_show_module_list): New function.
+ (func_import, func_create_testdir): Invoke it.
+ Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2010-06-13 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Align code of func_import and func_create_testdir.
+ * gnulib-tool (func_create_testdir): Rename variable saved_modules to
+ specified_modules.
+
+2010-06-12 Jim Meyering <meyering@redhat.com>
+
+ test-inttostr: avoid spurious failure on Solaris 9
+ * tests/test-inttostr.c (main): Skip the test when snprintf fails
+ to accept "%ju". Reported by Bruno Haible.
+
+2010-06-11 Jim Meyering <meyering@redhat.com>
+
+ test-sys_socket: mark variables as used more readably
+ * tests/test-sys_socket.c (main): Mark otherwise unused variables
+ as "used" explicitly via (void) statement casts. This is more
+ readable than using them in an artificial return expression.
+ Suggestion from Bruno Haible.
+
+2010-06-11 Bruno Haible <bruno@clisp.org>
+
+ Avoid some more warnings from "gcc -Wwrite-strings".
+ * tests/test-argp.c (test_optional): Change 5th and 6th argument type
+ to 'const char *'.
+ * tests/test-c-strstr.c (main): Add 'const' to variable declaration.
+ * tests/test-c-strcasestr.c (main): Likewise.
+ * tests/test-mbscasestr1.c (main): Likewise.
+ * tests/test-mbscasestr2.c (main): Likewise.
+ * tests/test-memmem.c (main): Likewise.
+ * tests/test-strstr.c (main): Likewise.
+ * tests/test-strcasestr.c (main): Likewise.
+
+2010-06-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ init.sh: change framework_failure_ to fail with status 99, not 1
+ * tests/init.sh (framework_failure_): Exit 99, not 1. This informs
+ automake's parallel-tests rule that this is an unexpected failure,
+ even if the test is listed in XFAIL_TESTS.
+
+2010-06-11 Jim Meyering <meyering@redhat.com>
+
+ test-inttostr: avoid warnings about 4-6KB literal strings
+ * tests/test-inttostr.c: Don't use <assert.h>. Instead, ...
+ Include "macros.h", for its definition of ASSERT.
+ (CK): s/assert/ASSERT/
+ * modules/inttostr-tests (Files): Add macros.h.
+
+ init.sh: don't use $ME_ or skip_ before they are defined
+ * tests/init.sh: Hoist definitions of $ME_ and skip_ to precede
+ their first uses. Also hoist their companions: warn_, fail_,
+ framework_failure_, $stderr_fileno. Prompted by a patch from
+ Stefano Lattarini.
+
+ test-sys_socket: avoid set-but-not-used warnings from gcc
+ * tests/test-sys_socket.c (main): Use "i" and "x", in order to
+ avoid warning about set-but-not-used variables.
+
+ test-xvasprintf: avoid 'const' discard warnings
+ * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use
+ "const" when assigning from literal strings.
+ (test_xasprintf): Add "void" in function argument list to placate
+ -Wstrict-prototypes and to be consistent with test_xvasprintf above.
+
+ tests: avoid compilation warnings in argmatch and exclude tests...
+ in packages that define ARGMATCH_DIE_DECL, like coreutils.
+ * tests/test-exclude.c [ARGMATCH_DIE_DECL]: Also declare the function.
+ Since it always exits, declare with the "noreturn" attribute.
+ * tests/test-argmatch.c: Likewise.
+
+ tests: avoid 'const' discard warnings in mbsstr tests
+ * tests/test-mbsstr1.c (main): Add "const" to avoid trivial warning.
+ * tests/test-mbsstr2.c (main): Likewise.
+
+ test-verify: avoid warning from gcc's -Wmissing-declarations
+ * tests/test-verify.c (function): Declare to be static.
+
+ test-inttostr.c: include <string.h> for use of strcmp
+ * tests/test-inttostr.c: Include <string.h> for strcmp declaration.
+
+ test-linkat: avoid failed assertion on "other" architectures
+ * tests/test-linkat.c: Include <sys/stat.h>, for declarations of stat,
+ lstat, mkdir. Patch by John Rigby, to fix FTBFS on armel, powerpc,
+ sparc: https://bugs.launchpad.net/bugs/591968
+
+2010-06-11 Jim Meyering <meyering@redhat.com>
+
+ printf.m4: avoid autoconf's "Expanded Before Required" warning
+ * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE,
+ rather than AC_DEFUN, to avoid the classic "Expanded Before Required"
+ autoconf warning.
+
+2010-06-10 Ben Pfaff <blp@cs.stanford.edu>
+
+ Replacement header templates are now named with ".in", not "_".
+ * doc/gnulib-intro.texi: Correct.
+
+2010-06-10 Jim Meyering <meyering@redhat.com>
+
+ inttostr-tests: depend on snprintf, not snprintf-posix
+ * modules/inttostr-tests (Depends-on): Depend on snprintf, not
+ snprintf-posix, to avoid this aclocal failure:
+ missing file gnulib-tests/vasnprintf.c
+ configure.ac:45: error: expected source file, required through \
+ AC_LIBSOURCES, not found
+
+2010-06-10 Jim Meyering <meyering@redhat.com>
+
+ inttostr: add a new function, inttostr, and tests
+ The namesake function was not available. The existence of the
+ template file, inttostr.c makes its addition nontrivial.
+ * lib/anytostr.c: Rename from inttostr.c.
+ (anytostr): Rename from inttostr.
+ * lib/inttostr.c: New file.
+ * modules/inttostr (Files): Add anytostr.c.
+ (Makefile.am): Set lib_SOURCES instead of ...
+ * m4/inttostr.m4: Remove uses of AC_LIBOBJ.
+ * lib/imaxtostr.c: Update use. s/inttostr/anytostr/
+ * lib/offtostr.c: Likewise.
+ * lib/uinttostr.c: Likewise.
+ * lib/umaxtostr.c: Likewise.
+ * modules/inttostr-tests: New file.
+ * tests/test-inttostr.c: New file. Test these functions.
+
+2010-06-09 Ben Pfaff <blp@cs.stanford.edu>
+ Bruno Haible <bruno@clisp.org>
+
+ Add "Extending Gnulib" chapter to manual.
+ * doc/gnulib.texi (Writing Modules): Add cross-reference to new
+ chapter.
+ (Extending Gnulib): New chapter.
+ * doc/gnulib-intro.texi (Openness): Add cross-reference to new
+ chapter.
+
+2010-06-09 Bruno Haible <bruno@clisp.org>
+
+ Avoid relocwrapper link errors due to gnulib replacement functions.
+ * lib/areadlink.c: Use the system's malloc, realloc functions.
+ (areadlink): Set errno to ENOMEM explicitly.
+ * modules/areadlink (Depends-on): Remove malloc-posix.
+ Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2010-06-09 Bruno Haible <bruno@clisp.org>
+
+ Avoid relocwrapper link errors due to gnulib replacement functions.
+ * lib/canonicalize-lgpl.c: Use the system's malloc function.
+ * lib/malloca.c: Likewise.
+ * lib/relocatable.c: Likewise.
+ * lib/progreloc.c: Use the system's malloc, sprintf functions.
+ * lib/relocwrapper.c: Use the system's fprintf, malloc functions.
+ * lib/setenv.c: Use the system's malloc, realloc functions.
+ * lib/strerror.c: Use the system's sprintf function.
+ Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2010-06-04 Bruno Haible <bruno@clisp.org>
+
+ Prefer documented low-level autoconf macro names.
+ * m4/lib-link.m4: Use m4_translit instead of translit.
+ * m4/environ.m4: Likewise.
+ * m4/mathfunc.m4: Likewise.
+ * m4/onceonly.m4: Likewise.
+ * m4/stdint.m4: Likewise.
+ Suggested by Eric Blake.
+
+2010-06-04 Martin Lambers <marlam@marlam.de>
+ Bruno Haible <bruno@clisp.org>
+
+ havelib: Allow library names with '+' characters.
+ * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+ AC_LIB_FROMPACKAGE, AC_LIB_LINKFLAGS_BODY): Convert '+' in name to '_'.
+
+2010-06-09 Bruno Haible <bruno@clisp.org>
+
+ Module setenv does not depend on 'malloc-posix', 'realloc-posix'.
+ * lib/setenv.c (__add_to_environ): Set errno to ENOMEM when malloc or
+ realloc failed.
+
+2010-06-08 Peter Simons <simons@cryp.to>
+
+ maint.mk: make the news-check rule more configurable
+ * top/maint.mk (news-check-lines-spec) New variable.
+ (news-check): Use "sed -n 1,10p" in place of "head".
+
+2010-06-07 Jim Meyering <meyering@redhat.com>
+
+ do-release-commit-and-tag: fix typo in --help
+ * build-aux/do-release-commit-and-tag (Usage): Fix typo in --help.
+
+ regex: avoid new dead-code warning with gcc-4.6.0
+ * lib/regex_internal.c (re_string_reconstruct): #if-0-out a dead
+ if-block containing a while-loop. It's been unused for at least
+ 5 years.
+
+2010-06-05 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-functions/strcoll.texi: Mention Solaris limitation.
+ Reported by River Tarnell <river.tarnell@wikimedia.de> via Eric Blake.
+
+2010-06-04 Bruno Haible <bruno@clisp.org>
+
+ Update to GNU gettext 0.18.1.
+ * modules/gettext (configure.ac): Require gettext infrastructure from
+ version 0.18.1.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Don't use AC_LIBOBJ with file names in subdirectories.
+ * m4/libunistring-base.m4 (gl_LIBUNISTRING_MODULE): Renamed from
+ gl_LIBUNISTRING_LIBSOURCE. Take a module name as argument, not a file
+ name. Define an automake conditional. Don't invoke AC_LIBOBJ.
+ * m4/libunistring.m4 (gl_LIBUNISTRING): Update AC_BEFORE invocation.
+ * modules/uni*/* (configure.ac): Use gl_LIBUNISTRING_MODULE instead of
+ gl_LIBUNISTRING_LIBSOURCE.
+ (Makefile.am): Augment lib_SOURCES here, conditionally.
+ * NEWS: Drop requirement for Automake option 'subdir-objects'.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Simplify gl_LIBUNISTRING_VERSION_CMP expansion.
+ * m4/libunistring-base.m4 (gl_LIBUNISTRING_VERSION_CMP): Ensure
+ expansion does not end with a newline.
+ (gl_LIBUNISTRING_LIBSOURCE, gl_LIBUNISTRING_LIBHEADER): Avoid
+ unnecessary newline.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Reduce dependencies.
+ * tests/test-quotearg.h: New file, extracted from
+ tests/test-quotearg.c.
+ * tests/test-quotearg-simple.c: New file, extracted from
+ tests/test-quotearg.c.
+ * tests/test-quotearg.c: Don't include <ctype.h>.
+ (struct result_strings, struct result_groups, LQ, RQ, LQ_ENC, RQ_ENC,
+ RQ_ESC, inputs, compare, use_quotearg_buffer, use_quotearg,
+ use_quote_double_quotes, use_quotearg_colon): Moved to
+ tests/test-quotearg.h.
+ (results_g, flag_results, custom_quotes, custom_results): Moved
+ to tests/test-quotearg-simple.c.
+ (main): Moved the part that does not depend on gettext to
+ tests/test-quotearg-simple.c. Return 77 if the test cannot be
+ performed.
+ * modules/quotearg-simple: New file.
+ * modules/quotearg-simple-tests: New file.
+ * modules/quotearg (Depends-on): Add quotearg-simple.
+ * modules/quotearg-tests (Status): Mark as gettext-dependent-test.
+ (Files): Add tests/test-quotearg.h.
+ Reported by Paolo Bonzini.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Reduce dependencies.
+ * modules/acl (Depends-on): Add gettext-h. Remove gettext.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ time: Undefine more broken macros.
+ * lib/time.in.h: Undefine broken localtime_r and gmtime_r macros only
+ for pthread-win32. Undefine also asctime_r, ctime_r, rand_r, strtok_r.
+ Reported by Eric Blake.
+
+2010-06-03 Bruno Haible <bruno@clisp.org>
+
+ Choose among AC_DEFUN_ONCE, AC_DEFUN in a way that aclocal understands.
+ * m4/iconv.m4 (gl_iconv_AC_DEFUN): New macro.
+ (AM_ICONV): Define it through gl_iconv_AC_DEFUN.
+ * m4/libunistring.m4 (gl_libunistring_AC_DEFUN): New macro.
+ (gl_LIBUNISTRING): Define it through gl_libunistring_AC_DEFUN.
+ Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-06-02 Eric Blake <eblake@redhat.com>
+
+ time: work with mingw + pthreads-win32 library
+ * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Set new variable
+ if timespec is defined only in pthread.h.
+ * modules/time (Makefile.am): Substitute it.
+ * lib/time.in.h (!TIME_H_DEFINES_STRUCT_TIMESPEC): Include
+ <pthread.h>, when needed.
+ (GNULIB_TIME_R): Undefine broken localtime_r and gmtime_r macros
+ from the library.
+
+2010-05-31 Bruno Haible <bruno@clisp.org>
+
+ Avoid expanding two macros in the wrong order.
+ * m4/libunistring-base.m4 (gl_LIBUNISTRING_LIB_PREPARE): Require
+ gl_LIBUNISTRING if it is defined.
+ * m4/libunistring.m4 (gl_LIBUNISTRING): Define using AC_DEFUN_ONCE for
+ autoconf >= 2.64.
+ Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-05-27 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: also prohibit "#undef" of always-defined symbols
+ * top/maint.mk (def_sym_regex): Handle #undef as well as #define.
+ Allow more than one space before the symbol name.
+ (sc_prohibit_always-defined_macros): Use grep's -E, now that
+ the regexp uses alternation.
+
+2010-05-26 Eric Blake <eblake@redhat.com>
+
+ maint.mk: avoid echo -e
+ * top/maint.mk (gzip_rsyncable, _ignore_case, _sc_say_and_exit):
+ Convert all uses of echo -* to printf.
+ Reported by Matthias Bolte.
+
+2010-05-25 Bruno Haible <bruno@clisp.org>
+
+ Update to GNU gettext 0.18, part 2.
+ * build-aux/po/Makefile.in.in: Update to GNU gettext 0.18.
+ Reported by Martin von Gagern <Martin.vGagern@gmx.net>.
+
+2010-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Add missing include in test-pwrite.c.
+ * tests/test-pwrite.c: Include string.h, for strcmp.
+
+2010-05-24 Bruno Haible <bruno@clisp.org>
+
+ * NEWS: Mention requirement for Automake option 'subdir-objects'.
+
+2010-05-24 Bruno Haible <bruno@clisp.org>
+
+ Don't use conversion with transliteration in u{8,16,32}_strcoll.
+ * lib/unistr/u-strcoll.h (FUNC): Use U_STRCONV_TO_ENCODING with
+ iconveh_error argument.
+ * lib/unistr/u8-strcoll.c: Define U_STRCONV_TO_ENCODING instead of
+ U_STRCONV_TO_LOCALE.
+ * lib/unistr/u16-strcoll.c: Likewise.
+ * lib/unistr/u32-strcoll.c: Likewise.
+ * modules/unistr/u8-strcoll (Depends-on): Add
+ uniconv/u8-strconv-to-enc, localcharset. Remove
+ uniconv/u8-strconv-to-locale.
+ (configure.ac): Bump version number.
+ * modules/unistr/u16-strcoll (Depends-on): Add
+ uniconv/u16-strconv-to-enc, localcharset. Remove
+ uniconv/u16-strconv-to-locale.
+ (configure.ac): Bump version number.
+ * modules/unistr/u32-strcoll (Depends-on): Add
+ uniconv/u32-strconv-to-enc, localcharset. Remove
+ uniconv/u32-strconv-to-locale.
+ (configure.ac): Bump version number.
+
+2010-05-24 Bruno Haible <bruno@clisp.org>
+
+ Avoid a test failure on NetBSD 5.0.
+ * tests/test-striconveh.c (main): On NetBSD, skip a test that triggers
+ an iconv() bug.
+
+2010-05-24 Bruno Haible <bruno@clisp.org>
+
+ Adjust #include directive style.
+ * modules/regex (Includes): Recommend to write <regex.h>.
+
+2010-05-24 Bruno Haible <bruno@clisp.org>
+
+ regex: Don't require alloca.
+ * modules/regex (Depends-on): Remove alloca. Add alloca-opt.
+ * lib/regex_internal.h (alloca): Ensure it's defined even if we call it
+ only inside if (0).
+
2010-05-23 Jim Meyering <meyering@redhat.com>
test-renameat.c: include <sys/stat.h>
2010-05-09 Bruno Haible <bruno@clisp.org>
- Update to GNU gettext 0.18.
- * m4/gettext.m4: Update to GNU gettext 0.17.
+ Update to GNU gettext 0.18, part 1.
+ * m4/gettext.m4: Update to GNU gettext 0.18.
* m4/intl.m4: Likewise.
* m4/po.m4: Likewise.
* modules/gettext (Files): Add m4/fcntl-o.m4.