Make test a bit easier to debug.
[gnulib.git] / ChangeLog
index d9b34ed..dad169c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,725 @@
+2007-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fflush.c (main): Use a file of size 17, not 10.
+       Print more information in case of failure. Disable a test on BeOS.
+
+2007-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * tests/**/test-*.[hc] (ASSERT): Use fprintf to show the line number.
+       This helps debugging on systems on which no gdb is available.
+
+2007-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freading.h: Improve comments.
+       * lib/fwriting.h: Likewise.
+       * tests/test-freading.c (main): Don't check freading immediately after
+       repositioning. Needed for glibc.
+
+2007-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freading.c (freading): Trivial simplification.
+
+2007-04-28  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fwriting.c (main): Also test the interaction between
+       fflush and fwriting.
+       * modules/fwriting-tests (Depends-on): Add fflush.
+
+       * tests/test-freading.c (main): Also test the interaction between
+       fflush and freading.
+       * modules/freading-tests (Depends-on): Add fflush.
+
+2007-04-28  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdio_.h (fseek, ftell): Provide link warnings suggesting to use
+       fseeko and ftello.
+       Suggested by Eric Blake.
+
+2007-04-28  Jim Meyering  <jim@meyering.net>
+
+       Avoid false-negative in gl_STDINT_H's C99 conformance test.
+       * m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms
+       to C99, include all of gl_STDINT_INCLUDES, not just <stddef.h>.
+
+2007-04-27  Eric Blake  <ebb9@byu.net>
+
+       * doc/headers/assert.texi (assert.h): Document assert module use.
+
+2007-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * doc/headers/*.texi: New files.
+       * doc/gnulib.texi (Header File Substitutes): New chapter.
+       * doc/Makefile (gnulib.info, gnulib.html, gnulib.dvi): Specify
+       dependencies.
+       (standards.info ,standards.html, standards.dvi): Update dependencies.
+       (mostlyclean, clean): New targets.
+
+2007-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sysexits_.h: Renamed from lib/sysexit_.h.
+       * modules/sysexits (Files, Makefile.am): Update.
+
+       * lib/sys_socket_.h: Renamed from lib/socket_.h.
+       * modules/sys_socket (Files, Makefile.am): Update.
+
+       * lib/sys_stat_.h: Renamed from lib/stat_.h.
+       * modules/sys_stat (Files, Makefile.am): Update.
+
+2007-04-27  Eric Blake  <ebb9@byu.net>
+
+       * lib/freading.h: Improve comments.
+       * lib/fwriting.h: Likewise.
+       * lib/fflush.c: Likewise.
+
+       Fix closein for mingw.
+       * modules/closein-tests: Add tests for closein.
+       * tests/test-closein.c: New file.
+       * tests/test-closein.sh: Likewise.
+       * lib/unistd_.h [!SEEK_CUR]: Mingw also needs stdlib.h for _exit.
+       * lib/closein.c (close_stdin): Don't fflush non-seekable streams.
+
+2007-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/inttypes_.h [_DECC]: Don't use #include_next if the compiler
+       version is < 6.
+       * lib/math_.h [__DECC]: Likewise.
+       * lib/stdio_.h [__DECC]: Likewise.
+       * lib/stdlib_.h [__DECC]: Likewise.
+       * lib/string_.h [__DECC]: Likewise.
+       * lib/time_.h [__DECC]: Likewise.
+       * lib/wchar_.h [__DECC]: Likewise.
+       * lib/wctype_.h [__DECC]: Likewise.
+
+2007-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fbufmode.c (main): Relax test, to avoid failure on mingw.
+
+2007-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fflush.c: Add comments.
+       * modules/fpurge-tests (Depends-on): Add fflush.
+       * modules/freadable-tests (Depends-on): Likewise.
+       * modules/fwritable-tests (Depends-on): Likewise.
+
+2007-04-27  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+       * m4/argz.m4 (gl_FUNC_ARGZ): Use !HAVE_WORKING_ARGZ instead of
+       SYSTEM_ARGZ_IS_BROKEN.  Also, minor stylistic improvements.
+       Report by Bruno Haible <bruno@clisp.org>.
+
+2007-04-26  Eric Blake  <ebb9@byu.net>
+
+       Fix fflush on mingw.
+       * modules/fflush (Depends-on): Add freading.
+       * lib/fflush.c (rpl_fflush): Use freading to avoid losing buffered
+       but unread data.
+
+2007-04-26  Eric Blake  <ebb9@byu.net>
+       and Bruno Haible  <bruno@clisp.org>
+
+       Implement freading and fwriting.
+       * lib/freading.c: New file.
+       * lib/freading.h: Likewise.
+       * m4/freading.m4: Likewise.
+       * modules/freading: Likewise.
+       * modules/freading-tests: Likewise.
+       * tests/test-freading.c: Likewise.
+       * lib/fwriting.c: New file.
+       * lib/fwriting.h: Likewise.
+       * m4/fwriting.m4: Likewise.
+       * modules/fwriting: Likewise.
+       * modules/fwriting-tests: Likewise.
+       * tests/test-fwriting.c: Likewise.
+       * MODULES.html.sh (File stream based Input/Output): Mention them.
+
+2007-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdio_.h (fseeko, ftello): Check that off_t has the same size as
+       'long' when we assume it.
+       Suggested by Eric Blake.
+
+2007-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Ensure fseeko, ftello are declared on glibc systems.
+       * modules/fflush (configure.ac-early): Require AC_FUNC_FSEEKO.
+       * modules/fseeko (configure.ac-early): Likewise.
+       * modules/ftello (configure.ac-early): Likewise.
+       * m4/fflush.m4 (gl_REPLACE_FFLUSH): Don't define HAVE_FSEEKO, rely on
+       AC_FUNC_FSEEKO for this.
+       * m4/fseeko.m4 (gl_FUNC_FSEEKO): Inline gl_CHECK_FSEEKO.
+       (gl_CHECK_FSEEKO): Remove macro.
+
+2007-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fflush.c (main): Also check the ftell result after
+       fflush and fseek/fseeko.
+       * lib/fflush.c (rpl_fflush): For BSD implementations, update the
+       file descriptor position cache in the stream.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+
+2007-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush-tests (Depends-on): Add fseeko.
+
+2007-04-25  Charles Wilson  <libtool@cwilson.fastmail.fm>
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/argz_.h: ensure error_t definition is obtained in same
+       mechanism system argz.h would have.
+       * m4/argz.m4 (gl_FUNC_ARGZ): add new test to check if $host's
+       argz facilities are known bad.  Err on the side of caution if
+       cross-compiling.
+
+2007-04-25  Eric Blake  <ebb9@byu.net>
+
+       * lib/fpurge.c (includes): Use stdlib.h for free.
+       * tests/test-fflush.c (main): Also test fflush-fseeko.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       Make fflush+fseek POSIX-compliant on FreeBSD and MacOS X.
+       * lib/fseeko.c: New file.
+       * lib/stdio_.h: Include <sys/types.h> when off_t is needed.
+       (fseeko, fseek): Define to replacements if REPLACE_FFLUSH.
+       * m4/fseeko.m4 (gl_CHECK_FSEEKO): New macro, extracted from
+       gl_FUNC_FSEEKO.
+       (gl_FUNC_FSEEKO): Invoke it.
+       * m4/fflush.m4 (gl_REPLACE_FFLUSH): Arrange to compile fseeko.c. Invoke
+       gl_CHECK_FSEEKO. Define HAVE_FSEEKO.
+       * modules/fflush (Files): Add lib/fseeko.c, m4/fseeko.m4.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush (Depends-on): Add ftello.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/ftello-tests: New file.
+       * tests/test-ftello.c: New file.
+
+       * modules/ftello: New file.
+       * m4/ftello.m4: New file.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_FTELLO,
+       HAVE_FTELLO.
+       * lib/stdio_.h (ftello): New declaration.
+       * modules/stdio (Makefile.am): Substitute also GNULIB_FTELLO,
+       HAVE_FTELLO.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fseeko-tests: New file.
+       * tests/test-fseeko.c: New file.
+
+       * modules/fseeko: New file.
+       * m4/fseeko.m4: New file.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_FSEEKO,
+       HAVE_FSEEKO.
+       * lib/stdio_.h (fseeko): New declaration.
+       * modules/stdio (Makefile.am): Substitute also GNULIB_FSEEKO,
+       HAVE_FSEEKO.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdio_.h (fflush): Add support for GNULIB_POSIXCHECK.
+
+2007-04-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistd_.h: Include <stdio.h> if needed to get the SEEK_* macros.
+       * tests/test-stdio.c: Check that the various SEEK_* macros are defined.
+       * tests/test-unistd.c: Likewise.
+       * tests/test-fcntl.c: Likewise.
+
+2007-04-23  Eric Blake  <ebb9@byu.net>
+
+       * lib/fflush.c: Fix missing include.
+       Reported by Bruno Haible.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fpurge.c (fpurge) [glibc, BSD]: Free a malloc()ed ungetc buffer.
+       Reported by Eric Blake.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fbufmode.c (fbufmode): Port to Solaris/SPARC64.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fseterr.c (fseterr): Don't hardcode the value of _IOERR.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fbufmode.c (main): Be prepared to a failure of setvbuf.
+       Needed on HP-UX 11.
+
+2007-04-16  Eric Blake  <ebb9@byu.net>
+
+       Make fflush rely on fpurge.
+       * lib/fflush.c (rpl_fflush): Rely on fpurge module, rather than
+       open coding all variants.
+       * modules/fflush (Depends-on): Add fpurge and unistd.
+       * modules/fflush-tests (Depends-on): Unistd is no longer extra.
+       * m4/fflush.m4 (gl_REPLACE_FFLUSH): Simplify.
+
+       Fix --with-tests compilation on cygwin.
+       * modules/argmatch-tests (Makefile.am): List gnulib library first
+       in LDADD.
+       * modules/argp-tests (Makefile.am): Likewise.
+       * modules/array-list-tests (Makefile.am): Likewise.
+       * modules/array-oset-tests (Makefile.am): Likewise.
+       * modules/avltree-list-tests (Makefile.am): Likewise.
+       * modules/avltree-oset-tests (Makefile.am): Likewise.
+       * modules/avltreehash-list-tests (Makefile.am): Likewise.
+       * modules/carray-list-tests (Makefile.am): Likewise.
+       * modules/dirname-tests (Makefile.am): Likewise.
+       * modules/frexp-tests (Makefile.am): Likewise.
+       * modules/isnanl-tests (Makefile.am): Likewise.
+       * modules/linked-list-tests (Makefile.am): Likewise.
+       * modules/linkedhash-list-tests (Makefile.am): Likewise.
+       * modules/lock-tests (Makefile.am): Likewise.
+       * modules/rbtree-list-tests (Makefile.am): Likewise.
+       * modules/rbtree-oset-tests (Makefile.am): Likewise.
+       * modules/rbtreehash-list-tests (Makefile.am): Likewise.
+       * modules/tls-tests (Makefile.am): Likewise.
+       * modules/tsearch-tests (Makefile.am): Likewise.
+       * modules/xvasprintf-tests (Makefile.am): Likewise.
+
+       Fix fpurge for cygwin.
+       * lib/fpurge.c (fpurge): Fix order of operation flub, and return a
+       value.
+       * modules/fpurge-tests (Depends-on): Clean up trash.
+
+2007-04-16  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings.
+
+       * m4/autobuild.m4: Re-indent.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fpurge-tests: New file.
+       * tests/test-fpurge.c: New file.
+
+       * modules/fpurge: New file.
+       * lib/fpurge.h: New file.
+       * lib/fpurge.c: New file.
+       * m4/fpurge.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fbufmode-tests: New file.
+       * tests/test-fbufmode.c: New file.
+
+       * modules/fbufmode: New file.
+       * lib/fbufmode.h: New file.
+       * lib/fbufmode.c: New file.
+       * m4/fbufmode.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fwritable-tests: New file.
+       * tests/test-fwritable.c: New file.
+
+       * modules/fwritable: New file.
+       * lib/fwritable.h: New file.
+       * lib/fwritable.c: New file.
+       * m4/fwritable.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadable-tests: New file.
+       * tests/test-freadable.c: New file.
+
+       * modules/freadable: New file.
+       * lib/freadable.h: New file.
+       * lib/freadable.c: New file.
+       * m4/freadable.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush-tests (Makefile.am): Remove EXTRA_DIST. Augment
+       MOSTLYCLEANFILES.
+
+2007-04-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/bootstrap (gnulib_tool_option_extras): New var, used by
+       gzip bootstrap.conf to avoid dragging in i18n machinery.
+       (gnulib_tool_option): Use it.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Add tests for %f and
+       %F directives.
+       * 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): Likewise.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Likewise.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lock-tests (configure.ac): For LIBSCHED, try also -lposix4.
+       * modules/tls-tests (configure.ac): Likewise.
+       Reported by Arto C. Nirkko <anirkko@insel.ch>.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/tls.c (glthread_tls_get): Fix return type.
+       Patch by Arto C. Nirkko <anirkko@insel.ch>.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       * modules/gettime (Depends-on): Remove gettime.
+       Reported by Dmitry V. Levin.
+
+2007-04-12  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush (Include): Mention <stdio.h>.
+       * modules/strtoimax (Include): Mention <inttypes.h>.
+       * modules/strtoumax (Include): Likewise.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       * .cvsignore: New file.
+       * .gitignore: Likewise.
+
+2007-04-12  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconv-tests (test_iconv_LDADD): Mention -liconv after LDADD,
+       not before, since $(LDADD) often contains libgnu.a.
+       * modules/striconv-tests (test_striconv_LDADD): Likewise.
+       * modules/striconveh-tests (test_striconveh_LDADD): Likewise.
+       * modules/striconveha-tests (test_striconveha_LDADD): Likewise.
+       Needed on Cygwin.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       Work around glibc's failure to flush stdin on fclose.
+       * lib/closein.c (close_stdin): Flush stdin before closing.
+
+       Work around glibc's failure to reset seekable stdin on exit.
+       * modules/closein: New module.
+       * lib/closein.c: New file.
+       * lib/closein.h: Likewise.
+       * m4/closein.m4: Likewise.
+       * MODULES.html.sh (File stream based Input/Output): Document it.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool: Rename generated 'autobuild' script to
+       'do-autobuild' in --create-megatestdir output.
+
+       * doc/gnulib.texi (Build robot for gnulib): Fix.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/sysexits (Depends-on): Add absolute-header.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       No need to preserve errno on success.
+       * lib/fflush.c (rpl_fflush): Simplify errno tracking.
+       Reported by Bruno Haible.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * MODULES.html.sh (Support for maintaining and releasing
+       projects): Add autobuild.  Suggested by Eric Blake <ebb9@byu.net>.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_modules_add_dummy): Respect --avoid=dummy.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/autobuild: New module.
+
+       * m4/autobuild.m4: New file.
+
+2007-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Implement the %F directive using the
+       %f directive, if NEED_PRINTF_DIRECTIVE_F is defined.
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_F): New macro.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_F): New macro.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       Reported by Eric Blake.
+
+2007-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Fix test. It always failed.
+
+2007-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Add a test for correct result
+       for NaN and Infinity. Needed on FreeBSD 6.1.
+       * tests/test-vasnprintf-posix.c (test_function): Undo last change
+       regarding results for "%010a" of Infinity and NaN.
+       * 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): Likewise.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Likewise.
+
+2007-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/locale-tests: New file.
+       * tests/test-locale.c: New file.
+
+       * modules/locale: New file.
+       * lib/locale_.h: New file.
+       * m4/locale_h.m4: New file.
+
+2007-04-10  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/signbit.m4 (gl_SIGNBIT): When the sign bit position could not
+       be determined, test for availability of the copysignf, copysign,
+       copysignl functions.
+       * lib/signbitf.c (gl_signbitf): Use copysignf if available in libc.
+       * lib/signbitd.c (gl_signbitd): Use copysign if available in libc.
+       * lib/signbitl.c (gl_signbitl): Use copysignl if available in libc.
+
+2007-04-09  Eric Blake  <ebb9@byu.net>
+
+       * lib/stdio_.h [REPLACE_FFLUSH]: Declare rpl_fflush.
+       * modules/stdio (Makefile.am): Support fflush.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
+       * modules/fflush: New file.
+       * lib/fflush.c: Likewise.
+       * m4/fflush.m4: Likewise.
+       * modules/fflush-tests: New test.
+       * tests/test-fflush.c: Likewise.
+       * MODULES.html.sh (Input/output <stdio.h>): Document new module.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c: Include <math.h>. Don't include float+.h.
+       (VASNPRINTF): Use signbit for faster determination whether to print a
+       minus sign.
+       * modules/vasnprintf (Files): Remove lib/float+.h.
+       * modules/fprintf-posix (Depends-on): Add signbit.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/vasnprintf-posix (Depends-on): Likewise.
+       * modules/vasprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-frexp.c (main): Test also the sign bit of zero results.
+       * tests/test-frexpl.c (main): Likewise.
+       * tests/test-ldexpl.c (main): Likewise.
+       * modules/frexp-tests (Depends-on): Add signbit.
+       * modules/frexpl-tests (Depdends-on): Likewise.
+       * modules/ldexpl-tests (Depdends-on): Likewise.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/signbit-tests: New file.
+       * tests/test-signbit.c: New file.
+
+       * modules/signbit: New file.
+       * lib/signbitf.c: New file.
+       * lib/signbitd.c: New file.
+       * lib/signbitl.c: New file.
+       * m4/signbit.m4: New file.
+       * lib/math_.h (gl_signbitf, gl_signbitd, gl_signbitl): New declarations.
+       (signbit): New macro.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_SIGNBIT and
+       REPLACE_SIGNBIT.
+       * modules/math (Makefile.am) Substibute also GNULIB_SIGNBIT and
+       REPLACE_FREXPL into math.h.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/isnanf-nolibm-tests: New file.
+       * tests/test-isnanf.c: New file.
+
+       * modules/isnanf-nolibm: New file.
+       * lib/isnanf.h: New file.
+       * lib/isnanf.c: New file.
+       * lib/isnan.c: Consider the USE_FLOAT macro.
+       * m4/isnanf.m4: New file.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gettext-h (configure.ac): AC_SUBST LIBINTL and LTLIBINTL.
+       (Link): New section.
+
+       * modules/canonicalize-lgpl-tests (Makefile.am): Undo last change.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Assume the 'long double' type.
+       * m4/longdouble.m4: Remove file.
+       * config/srclist.txt: Don't mention longdouble.m4.
+       * lib/allocsa.h: Assume HAVE_LONG_DOUBLE to be true.
+       * lib/float+.h: Likewise.
+       * lib/frexp.c: Likewise.
+       * lib/printf-args.h: Likewise.
+       * lib/printf-args.c: Likewise.
+       * lib/printf-frexp.c: Likewise.
+       * lib/printf-parse.c: Likewise.
+       * lib/vasnprintf.c: Likewise.
+       * m4/allocsa.m4: Remove gt_TYPE_LONGDOUBLE invocation.
+       * m4/intl.m4: Likewise.
+       * m4/isnanl.m4: Likewise.
+       * m4/printf.m4: Likewise.
+       * m4/printf-frexpl.m4: Likewise.
+       * m4/vasnprintf.m4: Likewise.
+       * modules/allocsa (Files): Remove m4/longdouble.m4.
+       * modules/gettext (Files): Likewise.
+       * modules/relocatable-prog-wrapper (Files): Likewise.
+       * modules/vasnprintf (Files): Likewise.
+       * modules/isnanl (Files): Likewise.
+       (Include): Simplify.
+       * modules/isnanl-nolibm (Files): Remove m4/longdouble.m4.
+       (Include): Simplify.
+       * modules/printf-frexpl (Files): Remove m4/longdouble.m4.
+       (Include): Simplify.
+       * modules/snprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/sprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vasnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vasprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vsnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vsprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * tests/test-isnanl-nolibm.c: Assume HAVE_LONG_DOUBLE to be true.
+       * tests/test-isnanl.c: Likewise.
+       * tests/test-snprintf-posix.h: Likewise.
+       * tests/test-sprintf-posix.h: Likewise.
+       * tests/test-vasnprintf-posix.c: Likewise.
+       * tests/test-vasnprintf-posix2.c: Likewise.
+       * tests/test-vasprintf-posix.c: Likewise.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix problem with Compaq (ex-DEC) Desktop C compiler on Tru64.
+       * lib/math_.h [__DECC]: Include the overridden include file through
+       #include_next, outside the double-inclusion guard.
+       * lib/stdio_.h [__DECC]: Likewise.
+       * lib/stdlib_.h [__DECC]: Likewise.
+       * lib/string_.h [__DECC]: Likewise.
+       * lib/time_.h [__DECC]: Likewise.
+       * lib/wchar_.h [__DECC]: Likewise.
+       * lib/wctype_.h [__DECC]: Likewise.
+       * lib/inttypes_.h [__DECC]: Likewise.
+       Reported by Albert Chin <china@thewrittenword.com> in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00088.html>.
+
+2007-04-04  Eric Blake  <ebb9@byu.net>
+
+       * m4/stdint.m4 (gl_STDINT_H): Detect WINT_MAX bug in cygwin
+       1.5.x.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Add a test for correct
+       rounding. Don't assume that FreeBSD 6 and NetBSD 4 pass this test.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Allow two possible
+       results for "%010a" of Infinity and NaN.
+       * 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): Remove these tests.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Update.
+       Needed for FreeBSD 6.1.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * DEPENDENCIES: Remove mentions of tar and gzip, since they are not
+       directly used by the gnulib modules nor by gnulib-tool.
+
+2007-04-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * DEPENDENCIES: Give overall description of version dependency
+       desirability.  Use more-typical names for apps.
+       Add shell, coreutils, diffutils, grep, tar, gzip.
+
+2007-04-04  Simon Josefsson  <simon@josefsson.org>
+
+       * MODULES.html.sh: Rename crypto modules.  Remove iconvme.
+
+2007-04-04  Karl Berry  <karl@gnu.org>
+
+       * MODULES.html.sh (func_module): missing '.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/argmatch-tests (Makefile.am): New variable
+       test_argmatch_LDADD.
+       * modules/argp-tests (Makefile.am): New variable test_argp_LDADD.
+       * modules/array-list-tests (Makefile.am): New variable
+       test_array_list_LDADD.
+       * modules/array-oset-tests (Makefile.am): New variable
+       test_array_oset_LDADD.
+       * modules/avltree-list-tests (Makefile.am): New variable
+       test_avltree_list_LDADD.
+       * modules/avltree-oset-tests (Makefile.am): New variable
+       test_avltree_oset_LDADD.
+       * modules/avltreehash-list-tests (Makefile.am): New variable
+       test_avltreehash_list_LDADD.
+       * modules/canonicalize-lgpl-tests (Makefile.am): New variable
+       test_canonicalize_lgpl_LDADD.
+       * modules/carray-list-tests (Makefile.am): New variable
+       test_carray_list_LDADD.
+       * modules/dirname-tests (Makefile.am): New variable
+       test_dirname_LDADD.
+       * modules/linked-list-tests (Makefile.am): New variable
+       test_linked_list_LDADD.
+       * modules/linkedhash-list-tests (Makefile.am): New variable
+       test_linkedhash_list_LDADD.
+       * modules/rbtree-list-tests (Makefile.am): New variable
+       test_rbtree_list_LDADD.
+       * modules/rbtree-oset-tests (Makefile.am): New variable
+       test_rbtree_oset_LDADD.
+       * modules/rbtreehash-list-tests (Makefile.am): New variable
+       test_rbtreehash_list_LDADD.
+       * modules/xvasprintf-tests (Makefile.am): New variable
+       test_xvasprintf_LDADD.
+       Reported by Eric Blake.
+
+2007-04-03  Eric Blake  <ebb9@byu.net>
+
+       * DEPENDENCIES: Weaken m4 requirements.
+
 2007-04-03  Bruno Haible  <bruno@clisp.org>
 
        * modules/frexp-tests (configure.ac): Remove AC_SUBST.
        * m4/isc-posix.m4: New file.
 
 1998-05-10  Jim Meyering  <meyering@ascend.com>
-
-       * m4/jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
-
-1998-05-09  Jim Meyering  <meyering@ascend.com>
-
-       * m4/Makefile.am (EXTRA_DIST): Add ssize_t.m4.
-       (EXTRA_DIST): Remove mktime.m4, now that the new version is included
-       with automake.
-
-       * m4/ssize_t.m4: New file.
-       * m4/mktime.m4: Remove file -- the new automake has this now.
-
-1998-04-26  Jim Meyering  <meyering@ascend.com>
-
-       * m4/assert.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add assert.m4.
-
-1998-04-05  Jim Meyering  <meyering@ascend.com>
-
-       * m4/prereq.m4 (jm_PREREQ_REGEX): New macro.
-       (jm_PREREQ): Use it here.
-
-1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
-       in acconfig.h.
-
-1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/prereq.m4: New file.
-       * m4/error.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
-
-1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/getline.m4: Don't set am_cv_func_working_getline before the
-       cache-check for the same variable -- that defeated the purpose of
-       the test; the test program was never run.  This was a problem only
-       on systems with losing getline functions -- HP-UX 10.20 is one.
-       Reported by Bjorn Helgaas.
-
-1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/Makefile.am (EXTRA_DIST): Add perl.m4.
-
-1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/Makefile.am (EXTRA_DIST): Add const.m4.
-
-       * m4/const.m4: New file.  Use an initializer in this declaration
-       typedef int charset[2]; const charset x;
-       Reported by Bob Glickstein.
-
-1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/chown.m4: Fix reversed types on -1 args to chown.
-       From Kaveh Ghazi.
-
-1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/check-decl.m4: s/DECLARATION_/DECL_/g.
-       Add lseek and memchr.
-
-       * m4/decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
-       T.E.Dickey <dickey@clark.net> said that some older preprocessors
-       have a 20-character limit on names.
-
-1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/inttypes_h.m4: New file.
-       * m4/uintmax_t.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
-
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-  Free Software Foundation, Inc.
-Copying and distribution of this file, with or without modification,
-are permitted provided the copyright notice and this notice are preserved.