Make test a bit easier to debug.
[gnulib.git] / ChangeLog
index 6d6d954..dad169c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,119 @@
+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>