+2010-04-24 Ian Beckwith <ianb@erislabs.net>
+
+ make check: avoid an error when no .git dir present.
+ * Makefile (sc_prefer_ac_check_funcs_once): Don't run git grep
+ if .git directory is not present (e.g. in stable snapshot tarballs).
+
+2010-04-24 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Correct errno value in case of out-of-memory.
+ * lib/vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF
+ or sprintf. Use the errno value from SNPRINTF or sprintf.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-04-20 Andreas Gruenbacher <agruen@suse.de>
+
+ * build-aux/bootstrap: Use "git -h" for testing for supported options
+ instead of "git --help". The short-form option only shows a summary,
+ and doesn't layout the full man page. Grep for the full option name
+ in the summary, too.
+
+2010-04-19 Bruno Haible <bruno@clisp.org>
+
+ relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
+ * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Set RELOCATABLE_STRIP.
+ * doc/relocatable-maint.texi (Supporting Relocation): Remove the
+ mention of RELOCATABLE_STRIP.
+ Reported by Sylvain Beucler <beuc@beuc.net>.
+
+2010-04-19 Bruno Haible <bruno@clisp.org>
+
+ ioctl: Move autoconf macro to a .m4 file.
+ * m4/ioctl.m4: New file, extracted from modules/ioctl.
+ * modules/ioctl (Files): Add it.
+ (configure.ac): Simply invoke gl_FUNC_IOCTL.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-04-16 Bruno Haible <bruno@clisp.org>
+
+ Override netdb.h always.
+ * modules/netdb (Makefile.am): Augment BUILT_SOURCES always.
+ * m4/netdb_h.m4 (gl_HEADER_NETDB): Don't set NETDB_H.
+ Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-04-15 Bruno Haible <bruno@clisp.org>
+
+ openpty: Fix mistake from 2010-03-21.
+ * m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when openpty exists.
+ Reported by Simon Josefsson.
+
+2010-04-15 Eric Blake <eblake@redhat.com>
+
+ test-forkpty: fix expected signature
+ * tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const.
+ Reported by Simon Josefsson.
+
+2010-04-14 Eric Blake <eblake@redhat.com>
+
+ strtok_r: relax license to LGPLv2+
+ * modules/strtok_r (License): Relax license.
+ Reported by Matthias Bolte.
+
+2010-04-13 Eric Blake <eblake@redhat.com>
+
+ getopt-gnu: match recent glibc fixes and posix ruling
+ * tests/test-getopt.h (test_getopt): Strengthen tests of leading
+ '+' handling, when requesting extensions.
+ * tests/test-getopt_long.h (test_getopt_long): Strengthen test of
+ 'W;' handling.
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Detect glibc 2.11 bug.
+ * doc/posix-functions/getopt.texi (getopt): Document this.
+ * doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
+ * doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
+ Likewise.
+
+ getopt: merge bug fixes from glibc
+ * lib/getopt.c (_getopt_internal_r): Use correct message for 'W;'
+ diagnostics. Honor '+:' correctly. Reject ';'.
+
+ getopt-posix: detect MacOS bug
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Reject MacOS botch of
+ optind when missing a required argument.
+ * doc/posix-functions/getopt.texi (getopt): Document the bug.
+ * doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
+ * doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
+ Likewise.
+
+ getopt-posix: avoid spurious failure on Solaris
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Check for getopt_clip as
+ an indicator that setting optind=1 is sufficient for reset.
+
+ getopt-posix: avoid spurious failure on FreeBSD
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Check for optreset even
+ in POSIX mode, since the m4 test uses it.
+
+2010-04-13 Jim Meyering <meyering@redhat.com>
+
+ doc: users.txt: GNU patch now uses gnulib
+ * users.txt: Add patch.
+
+2010-04-12 Andreas Gruenbacher <agruen@suse.de>
+
+ git-version-gen: use "git update-index..." rather than "git status"
+ * build-aux/git-version-gen: Use git update-index --refresh, not
+ "git status". With some versions of git, "git status" would fail
+ to update the index and result in an unwarranted "-dirty" suffix.
+
+2010-04-11 Bruno Haible <bruno@clisp.org>
+
+ libunistring: Correct value of $LTLIBUNISTRING.
+ * m4/libunistring.m4 (gl_LIBUNISTRING): When it depends on libiconv,
+ correct the value of $LTLIBUNISTRING.
+
+2010-04-11 Bruno Haible <bruno@clisp.org>
+
+ havelib: Add static libraries to LIBS in the right order.
+ * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): When $LIB[]NAME contains no
+ -l options, prepend it to $LIBS, instead of appending it to $LIBS.
+
+2010-04-11 Bruno Haible <bruno@clisp.org>
+
+ libunistring: Detect libunistring also when it depends on libiconv.
+ * m4/libunistring.m4 (gl_LIBUNISTRING): Unset the cached result before
+ the second AC_LIB_HAVE_LINKFLAGS invocation.
+
+2010-04-11 Bruno Haible <bruno@clisp.org>
+
+ * m4/libunistring.m4 (gl_LIBUNISTRING): Fix typo in comment.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ mkdir: Make it work on mingw64.
+ * lib/sys_stat.in.h: Include <direct.h> together with <io.h>.
+ * lib/mkdir.c: Update comment.
+ Reported by Roman Donchenko (Роман Донченко) <dxdragon@yandex.ru>.
+
+2010-04-10 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: correct a diagnostic
+ * top/maint.mk (sc_prohibit_HAVE_MBRTOWC): Fix obsolete use of $re
+ in diagnostic; now use $prohibit.
+
+2010-04-10 Bruno Haible <address@hidden>
+
+ fchownat: Fix a C++ test error on Solaris 8.
+ * m4/openat.m4 (gl_FUNC_FCHOWNAT): Don't set REPLACE_FCHOWNAT to 1 if
+ the function does not exist.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Add more tests.
+ * tests/test-vasnprintf-posix.c: Include <errno.h>.
+ (test_function): Test converting an invalid wide string.
+
+ vasnprintf: Correct handling of unconvertible wide string arguments.
+ * lib/vasnprintf.c (MAX_ROOM_NEEDED): New function, extracted from
+ VASNPRINTF.
+ (VASNPRINTF): Use it. After snprintf failed, allocate more memory only
+ if HAVE_SNPRINTF_RETVAL_C99 is false and the allocated memory is
+ smaller than the expected maximum need for the directive. Set errno to
+ EILSEQ, not EINVAL, when the directive is 'c' or 's'.
+ (local_strnlen, local_wcslen, local_wcsnlen): Update conditions.
+ * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Require AC_C_INLINE and
+ gl_SNPRINTF_RETVAL_C99. Define HAVE_SNPRINTF_RETVAL_C99.
+ * modules/vasnprintf (Files): Add m4/printf.m4.
+ Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix crash in %ls directive.
+ * lib/vasnprintf.c (VASNPRINTF): Don't abort when a unconvertible wide
+ string is passed as argument to %ls, with no precision and no width.
+ Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix multiple test failures on mingw.
+ * lib/vasnprintf.c (SNPRINTF) [mingw]: Define to snprintf, not
+ _snprintf, or snwprintf, not _snwprintf.
+