+2009-01-18 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-avltree_list.c (main): Call set_program_name.
+ * tests/test-avltree_oset.c (main): Likewise.
+ * tests/test-obstack-printf.c: Include progname.h.
+ (main): Call set_program_name.
+ * tests/test-quotearg.c: Include progname.h.
+ (main): Call set_program_name.
+ * tests/test-xmemdup0.c: Include progname.h.
+ (main): Call set_program_name.
+
+2009-01-18 Bruno Haible <bruno@clisp.org>
+
+ New module 'alphasort'.
+ * lib/dirent.in.h (alphasort): New declaration.
+ * lib/alphasort.c: New file, from glibc with modifications.
+ * m4/alphasort.m4: New file.
+ * modules/alphasort: New file.
+ * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_ALPHASORT,
+ HAVE_ALPHASORT.
+ * modules/dirent (Makefile.am): Substitute GNULIB_ALPHASORT,
+ HAVE_ALPHASORT.
+ * doc/posix-functions/alphasort.texi: Mention the new module and the
+ portability problems.
+
+2009-01-18 Bruno Haible <bruno@clisp.org>
+
+ New module 'scandir'.
+ * lib/dirent.in.h (scandir): New declaration.
+ * lib/scandir.c: New file, from glibc with modifications.
+ * m4/scandir.m4: New file.
+ * modules/scandir: New file.
+ * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_SCANDIR,
+ HAVE_SCANDIR.
+ * modules/dirent (Makefile.am): Substitute GNULIB_SCANDIR,
+ HAVE_SCANDIR.
+ * doc/posix-functions/scandir.texi: Mention the new module and the
+ portability problems.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_remove_prefix): Escape all dots in the prefix.
+ Update documentation.
+ (func_remove_suffix): Escape all dots in the suffix. Update
+ documentation.
+ (func_filter_filelist): Update documentation.
+ Reported by Ralf Wildenhues.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ * modules/dprintf-posix-tests: New file.
+ * tests/test-dprintf-posix.sh: New file.
+ * tests/test-dprintf-posix.c: New file.
+
+ New modules 'dprintf', 'dprintf-posix'.
+ * lib/stdio.in.h (dprintf): New declaration.
+ * lib/dprintf.c: New file.
+ * m4/dprintf.m4: New file.
+ * m4/dprintf-posix.m4: New file.
+ * modules/dprintf: New file.
+ * modules/dprintf-posix: New file.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_DPRINTF,
+ HAVE_DPRINTF, REPLACE_DPRINTF.
+ * modules/stdio (Makefile.am): Substitute also GNULIB_DPRINTF,
+ HAVE_DPRINTF, REPLACE_DPRINTF.
+ * doc/posix-functions/dprintf.texi: Mention the new modules.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ * modules/vdprintf-posix-tests: New file.
+ * tests/test-vdprintf-posix.sh: New file.
+ * tests/test-vdprintf-posix.c: New file.
+
+ New modules 'vdprintf', 'vdprintf-posix'.
+ * lib/stdio.in.h (vdprintf): New declaration.
+ * lib/vdprintf.c: New file.
+ * m4/vdprintf.m4: New file.
+ * m4/vdprintf-posix.m4: New file.
+ * modules/vdprintf: New file.
+ * modules/vdprintf-posix: New file.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_VDPRINTF,
+ HAVE_VDPRINTF, REPLACE_VDPRINTF.
+ * modules/stdio (Makefile.am): Substitute also GNULIB_VDPRINTF,
+ HAVE_VDPRINTF, REPLACE_VDPRINTF.
+ * doc/posix-functions/vdprintf.texi: Mention the new modules.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ Fix replacement of fopen on mingw.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Define FOPEN_TRAILING_SLASH_BUG also on
+ mingw.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ Fix compilation error on HP-UX 11.00, present since 2008-09-24.
+ * lib/fopen.c: Include <sys/types.h> and <sys/types.h>.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ Avoid test-fflush2.sh failure on mingw.
+ * tests/test-fflush2.c: Include binary-io.h.
+ (main): Put standard input into binary mode.
+ * modules/fflush-tests (Depends-on): Add binary-io.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/wchar.in.h: In another particular situation, include only the
+ system's <wchar.h> file.
+ (_GL_ALREADY_INCLUDING_WCHAR_H): New macro.
+ Reported by Albert Chin-A-Young <china@thewrittenword.com>
+ and Thomas Guyot-Sionnest <dermoth@aei.ca>.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ Support for stripping executables in --enable-relocatable.
+ * build-aux/install-reloc: Expect one more argument, or an environment
+ variable RELOC_STRIP_PROG. If set, strip the destination program and
+ its wrapper.
+ * m4/relocatable.m4 (gl_RELOCATABLE_BODY): In INSTALL_PROGRAM_ENV, set
+ RELOC_STRIP_PROG.
+ * doc/relocatable-maint.texi (Supporting Relocation): Mention the need
+ to set RELOCATABLE_STRIP.
+ * NEWS: Mention the new Makefile requirement.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ * build-aux/install-reloc: Remove debugging information left over by
+ C compiler on MacOS X.
+
+2009-01-17 Bruno Haible <bruno@clisp.org>
+
+ Update use of _NSGetExecutablePath after API change in MacOS X 10.4.
+ * lib/progreloc.c (find_executable): Fix type of pointer passed to
+ _NSGetExecutablePath.
+
+2009-01-16 Jim Meyering <meyering@redhat.com>
+
+ strerror: avoid warnings about discarding "const"
+ * lib/strerror.c (rpl_strerror): Instead of returning a const
+ string from each and every "case", use a variable, and add a single
+ cast after the switch.
+
+2009-01-16 Albert Chin-A-Young <china@thewrittenword.com>
+
+ * lib/arpa_inet.in.h: Add extern "C" block for C++.
+
+2009-01-16 Bruno Haible <bruno@clisp.org>
+
+ * m4/printf.m4 (gl_SNPRINTF_SIZE1, gl_VSNPRINTF_ZEROSIZE_C99): Use an
+ array initializer syntax that also works in C++ mode.
+ Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2009-01-16 Jim Meyering <meyering@redhat.com>
+
+ poll: suppress a warning
+ * lib/poll.c: Use #pragma GCC diagnostic ignored "-Wtype-limits"
+ to ignore "...unsigned expression < 0 is always false" warnings.
+
+2009-01-16 Daniel P. Berrange <berrange@redhat.com>
+
+ poll: remove declarations of unused variables
+ * lib/poll.c (poll) [WIN32_NATIVE]: Remove declarations of unused
+ sockbuf and optlen.
+
2009-01-15 Bruno Haible <bruno@clisp.org>
Make fflush-after-ungetc POSIX compliant on BSD systems.