+2007-05-29 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnan.m4 (gl_DOUBLE_EXPONENT_LOCATION): Silence the AC_C_BIGENDIAN
+ invocation.
+ Reported by Eric Blake.
+
+2007-05-29 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanf.m4 (gl_FLOAT_EXPONENT_LOCATION): Fix typo in cross-
+ compiling case.
+
+2007-05-29 Eric Blake <ebb9@byu.net>
+ Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
+ cross compiles.
+
+2007-05-28 Eric Blake <ebb9@byu.net>
+
+ * modules/closein-tests (test_closein_LDADD): Support test on
+ cygwin with libtool.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * tests/uniconv/test-u16-conv-from-enc.c: Remove #ifdef HAVE_CONFIG_H.
+ * tests/uniconv/test-u16-strconv-from-enc.c: Likewise.
+ * tests/uniconv/test-u16-strconv-to-enc.c: Likewise.
+ * tests/uniconv/test-u32-conv-from-enc.c: Likewise.
+ * tests/uniconv/test-u32-strconv-from-enc.c: Likewise.
+ * tests/uniconv/test-u32-strconv-to-enc.c: Likewise.
+ * tests/uniconv/test-u8-conv-from-enc.c: Likewise.
+ * tests/uniconv/test-u8-strconv-from-enc.c: Likewise.
+ * tests/uniconv/test-u8-strconv-to-enc.c: Likewise.
+
+2007-05-28 Eric Blake <ebb9@byu.net>
+
+ Unconditionally include <config.h> in unit tests.
+ * tests/test-alloca-opt.c: Remove #ifdef HAVE_CONFIG_H.
+ * tests/test-allocsa.c, tests/test-arcfour.c,
+ tests/test-arctwo.c, tests/test-argmatch.c, tests/test-argp.c,
+ tests/test-array_list.c, tests/test-array_oset.c,
+ tests/test-atexit.c, test-avltree_list.c, test-avltree_oset.c,
+ test-avltreehash_list.c, test-base64.c, test-binary-io.c,
+ test-c-ctype.c, test-c-strcasecmp.c, test-c-strcasestr.c,
+ test-c-strncasecmp.c, test-c-strstr.c, test-canonicalize-lgpl.c,
+ test-carray_list.c, test-crc.c, test-des.c, test-dirname.c,
+ test-fflush.c, test-fprintf-posix.c, test-gc-arcfour.c,
+ test-gc-arctwo.c, test-gc-des.c, test-gc-hmac-md5.c,
+ test-gc-hmac-sha1.c, test-gc-md2.c, test-gc-md4.c, test-gc-md5.c,
+ test-gc-pbkdf2-sha1.c, test-gc-rijndael.c, test-gc-sha1.c,
+ test-gc.c, test-getpass.c, test-hmac-md5.c, test-hmac-sha1.c,
+ test-iconv.c, test-linked_list.c, test-linkedhash_list.c,
+ test-lock.c, test-mbscasecmp.c, test-mbscasestr1.c,
+ test-mbscasestr2.c, test-mbscasestr3.c, test-mbscasestr4.c,
+ test-mbschr.c, test-mbscspn.c, test-mbsncasecmp.c, test-mbspbrk.c,
+ test-mbspcasecmp.c, test-mbsrchr.c, test-mbsspn.c, test-mbsstr1.c,
+ test-mbsstr2.c, test-mbsstr3.c, test-md2.c, test-md4.c,
+ test-md5.c, test-memmem.c, test-printf-posix.c,
+ test-rbtree_list.c, test-rbtree_oset.c, test-rbtreehash_list.c,
+ test-read-file.c, test-rijndael.c, test-snprintf-posix.c,
+ test-snprintf.c, test-sprintf-posix.c, test-stdint.c,
+ test-strcasestr.c, test-striconv.c, test-striconveh.c,
+ test-striconveha.c, test-tls.c, test-vasnprintf-posix.c,
+ test-vasnprintf-posix2.c, test-vasnprintf.c,
+ test-vasprintf-posix.c, test-vasprintf.c, test-verify.c,
+ test-vfprintf-posix.c, test-vprintf-posix.c,
+ test-vsnprintf-posix.c, test-vsnprintf.c, test-vsprintf-posix.c,
+ test-xvasprintf.c: Likewise.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_import): Remember the --with-tests command-line
+ option through the macro gl_WITH_TESTS in the gnulib-cache.m4.
+ Reported by Eric Blake.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * modules/ftell-tests: New file.
+ * tests/test-ftell.c: New file, based on tests/test-ftello.c.
+ * tests/test-ftell.sh: New file, based on tests/test-ftello.sh.
+
+ * lib/ftell.c: New file.
+ * modules/ftell: New file.
+ * m4/ftell.m4: New file.
+ * doc/functions/ftell.texi: Update.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_FTELL,
+ REPLACE_FTELL.
+ * lib/stdio_.h (rpl_ftell): New declaration.
+ * modules/stdio (Makefile.am): Substitute also GNULIB_FTELL,
+ REPLACE_FTELL.
+
+2007-05-28 Eric Blake <ebb9@byu.net>
+
+ * lib/allocsa.h (safe_alloca): Avoid compiler warning.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * modules/fseek-tests: New file.
+ * tests/test-fseek.c: New file, based on tests/test-fseeko.c.
+ * tests/test-fseek.sh: New file, based on tests/test-fseeko.sh.
+
+ * lib/fseek.c: New file.
+ * modules/fseek: New file.
+ * m4/fseek.m4: New file.
+ * doc/functions/fseek.texi: Update.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_FSEEK,
+ REPLACE_FSEEK.
+ * lib/stdio_.h (rpl_fseek): New declaration.
+ * modules/stdio (Makefile.am): Substitute also GNULIB_FSEEK,
+ REPLACE_FSEEK.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdio_.h (fflush): More comments.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * m4/lseek.m4 (gl_FUNC_LSEEK): When not cross-compiling, perform a real
+ runtime test.
+
+2007-05-28 Eric Blake <ebb9@byu.net>
+
+ Improve lseek module.
+ * lib/lseek.c (rpl_lseek): Detect EBADF on mingw.
+ * lib/unistd_.h (lseek): Scale back link warning message.
+ * tests/test-lseek.c: Beef up test.
+ * tests/test-lseek.sh: Exercise more facets of lseek.
+ Reported by Bruno Haible.
+
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-unistd.c: Test all the types that <unistd.h> is expected
+ to define.
+
+2007-05-27 Bruno Haible <bruno@clisp.org>
+
+ * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
+
+2007-05-27 Bruno Haible <bruno@clisp.org>
+
+ * modules/openmp: New file.
+ * m4/openmp.m4: New file, taken from autoconf's CVS with changes by
+ Noah Misch.
+
+2007-05-26 Bruno Haible <bruno@clisp.org>
+
+ * modules/chdir-long (Depends-on): Add fchdir.
+ * modules/chdir-safer (Depends-on): Likewise.
+ * modules/fts (Depends-on): Likewise.
+ * modules/fts-lgpl (Depends-on): Likewise.
+ * modules/openat (Depends-on): Likewise.
+ * modules/savewd (Depends-on): Likewise.
+
+2007-05-24 Eric Blake <ebb9@byu.net>
+
+ Fix lseek on mingw.
+ * modules/lseek: New module.
+ * m4/lseek.m4: New file.
+ * lib/lseek.c: New file.
+ * modules/lseek-tests: New file.
+ * tests/test-lseek.c: New file.
+ * tests/test-lseek.sh: New file.
+ * MODULES.html.sh: Document lseek module.
+ * modules/fflush (Depends-on): Add lseek, fseeko.
+ * modules/fseeko (Depends-on): Likewise.
+ * modules/ftello (Depends-on): Likewise.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Replace fseek[o] if lseek is
+ broken.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Replace ftell[o] if lseek is
+ broken.
+ * m4/fflush.m4 (gl_REPLACE_FFLUSH): Trigger fseeko module.
+ * lib/fseeko.c (rpl_fseeko): Quit early on non-seekable files.
+ * lib/ftello.c (rpl_ftello): Likewise.
+ * tests/test-fseeko.c (main): Test this.
+ * tests/test-fseeko.sh: Likewise.
+ * tests/test-ftello.c (main): Likewise.
+ * tests/test-ftello.sh: Likewise.
+ * lib/stdio_.h (fseek, ftell): Simplify, since missing fseeko now
+ implies replacing fseek.
+ * modules/stdio (Makefile.am): No longer need HAVE_FSEEKO,
+ HAVE_FTELLO.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add lseek info.
+ * modules/unistd (Makefile.am): Likewise.
+ * lib/unistd_.h (lseek): Declare a replacement.
+ * doc/functions/lseek.texi (lseek): Document this fix.
+ * doc/functions/fseek.texi (fseek): Likewise.
+ * doc/functions/ftell.texi (ftell): Likewise.
+
+2007-05-24 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-vasnprintf-posix.c (test_function): Allow up to 50 bytes
+ in the printed representation of a 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.
+ Reported by Eric Blake.
+
+2007-05-23 Eric Blake <ebb9@byu.net>
+
+ Fix fseeko/ftello on cygwin 1.5.24.
+ * doc/functions/fseeko.texi (fseeko): Document the fix.
+ * doc/functions/ftello.texi (ftello): Document the fix.
+ * doc/functions/stdin.texi (stdin): Document the cygwin bug.
+ * doc/functions/stdout.text (stdout): New file.
+ * doc/functions/stderr.text (stderr): New file.
+ * doc/gnulib.texi (Function Substitutes): Use new files.
+ * tests/test-fseeko.c (main): Check for broken fseeko on cygwin
+ prior to 1.7.0.
+ * tests/test-ftello.c (main): Likewise for ftello.
+ * tests/test-fseeko.sh: New file.
+ * tests/test-ftello.sh: New file.
+ * modules/fseeko-tests (Makefile.am): Ensure test-fseeko is run
+ with seekable stdin.
+ * modules/ftello-tests (Makefile.am): Likewise for test-ftello.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Detect the cygwin bug.
+ (gl_REPLACE_FSEEKO): New macro.
+ * m4/ftello.m4 (gl_FUNC_FTELLO, gl_REPLACE_FTELLO): Likewise.
+ * modules/fseeko (Files): Distribute fseeko.c.
+ * modules/ftello (Files): Distribute ftello.c.
+ * lib/fseeko.c (rpl_fseeko) [__CYGWIN__]: Convert stdin to 64-bit
+ mode.
+ * lib/ftello.c (rpl_ftello): New file.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Allow replacement of
+ fseeko, ftello.
+ (gl_STDIN_LARGE_OFFSET): New macro.
+ * modules/stdio (Makefile.am): Perform the replacement.
+ * lib/stdio_.h (rpl_fseeko, rpl_ftello): Define when needed.
+
+2007-05-23 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdio_.h (fseeko, ftello): Provide a link warning only if
+ GNULIB_POSIXCHECK is defined.
+
+2007-05-21 Bruno Haible <bruno@clisp.org>
+
+ * m4/printf.m4 (gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE):
+ Check also the output for NaN arguments. When cross-compiling, guess
+ no on IRIX.
+ * lib/vasnprintf.c: Update comments.
+ * tests/test-vasnprintf-posix.c (strisnan): New function.
+ (test_function): Use it.
+ * tests/test-vasprintf-posix.c (strisnan): New function.
+ (test_function): Use it.
+ * tests/test-snprintf-posix.h (strisnan): New function.
+ (test_function): Use it.
+ * tests/test-sprintf-posix.h (strisnan): New function.
+ (test_function): Use it.
+ Reported by Eric Blake.
+
+2007-05-20 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Add test for large finite
+ numbers that fails on BeOS.
+ * doc/functions/frexpl.texi: Update.
+
2007-05-20 Jim Meyering <jim@meyering.net>
* NEWS: Mention the incompatible change (s/futimens/gl_futimens/)