+2010-04-11 Bruno Haible <bruno@clisp.org>
+
+ * m4/libunistring.m4 (gl_LIBUNISTRING): Fix typo in comment.
+
+2010-04-11 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: don't include dist-check.mk
+ * top/maint.mk: Remove bogus include directive.
+
+ maint.mk: improve empty-line-at-EOF check
+ * top/maint.mk (sc_prohibit_empty_lines_at_EOF): Use Perl-based
+ solution, rather than tail+Perl-based one. The latter would read
+ a few kilobytes from the end of each file, and did not handle empty
+ files properly.
+
+ maint.mk: print the elapsed time for each syntax-check rule
+ * top/maint.mk (sc_m_rules_): Save start time in a file.
+ (sc_z_rules_): New rules: remove temp file and print elapsed time.
+ (local-check): Interpose the .z rules
+
+2010-04-11 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: detect_empty_lines_at_EOF_: avoid FP for an empty file
+ * top/maint.mk (detect_empty_lines_at_EOF_): Don't confuse an
+ empty file with one that ends in an empty line.
+
+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 Bruno Haible <bruno@clisp.org>
+
+ Don't override improved macro from newer autoconf.
+ * m4/gnulib-common.m4 (AC_C_RESTRICT): Don't define for
+ autoconf >= 2.62.
+ Reported by Joel E. Denny <jdenny@clemson.edu>.
+
+2010-04-10 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: new syntax-check rule: prohibit empty lines at end of file
+ * top/maint.mk (sc_prohibit_empty_lines_at_EOF): New rule.
+
+ 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.