* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[gnulib.git] / ChangeLog
index 60fed20..a16da12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,701 @@
+2007-06-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
+       INCLUDE_NEXT.
+       (gl_CHECK_NEXT_HEADERS): New macro.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): use gl_CHECK_NEXT_HEADERS instead of
+       the obsolescent gl_ABSOLUTE_HEADER.
+       * m4/float_h.m4 (gl_FLOAT_H): Likewise.
+       * m4/inttypes.m4 (gl_INTTYPES_H): Likewise.
+       * m4/math_h.m4 (gl_MATH_H): Likewise.
+       * m4/search_h.m4 (gl_SEARCH_H): Likewise.
+       * m4/signal_h.m4 (gl_SIGNAL_H): Likewise.
+       * m4/stdint.m4 (gl_STDINT_H): Likewise.
+       * m4/stdio_h.m4 (gl_STDIO_H): Likewise.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise.
+       * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise.
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Likewise.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Likewise.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
+       * m4/wchar.m4 (gl_WCHAR_H): Likewise.
+       * m4/wctype.m4 (gl_WCTYPE_H): Likewise.
+       * m4/inttypes.m4 (gl_INTTYPES_H): Define
+       _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H to avoid the problem of unclean
+       builds, since ABSOLUTE_INTTYPES_H is no longer being defined.
+       * m4/stdint.m4 (gl_STDINT_H): Likewise, for
+       _GL_JUST_INCLUDE_SYSTEM_STDINT_H.
+       * lib/fcntl_.h: Use @INCLUDE_NEXT@ @NEXT_foo_H@
+       rather than @HAVE_INCLUDE_NEXT@ and @ABSOLUTE_foo_H@.
+       * lib/float_.h: Likewise.
+       * lib/inttypes_.h: Likewise.
+       * lib/math_.h: Likewise.
+       * lib/search_.h: Likewise.
+       * lib/signal_.h: Likewise.
+       * lib/stdint_.h: Likewise.
+       * lib/stdio_.h: Likewise.
+       * lib/stdlib_.h: Likewise.
+       * lib/string_.h: Likewise.
+       * lib/sys_stat_.h: Likewise.
+       * lib/sys_time_.h: Likewise.
+       * lib/time_.h: Likewise.
+       * lib/unistd_.h: Likewise.
+       * lib/wchar_.h: Likewise.
+       * lib/wctype_.h: Likewise.
+       * modules/fcntl (Depends-on): Depend on absolute-header, not
+       include_next.
+       (Makefile): Substitute INCLUDE_NEXT and NEXT_foo_H, not
+       HAVE_INCLUDE_NEXT and ABSOLUTE_foo_H.
+       * modules/float: Likewise.
+       * modules/inttypes: Likewise.
+       * modules/math: Likewise.
+       * modules/search: Likewise.
+       * modules/signal: Likewise.
+       * modules/stdint: Likewise.
+       * modules/stdio: Likewise.
+       * modules/stdlib: Likewise.
+       * modules/string: Likewise.
+       * modules/sys_stat: Likewise.
+       * modules/sys_time: Likewise.
+       * modules/time: Likewise.
+       * modules/unistd: Likewise.
+       * modules/wchar: Likewise.
+       * modules/wctype: Likewise.
+       * modules/sys_stat: Change maintainer to "all".
+       * modules/unistd: Likewise.
+
+2007-06-20  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt: track www changes in license files.
+
+2007-06-20  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * build-aux/bootstrap: Remove stray dot.
+       Make sure build_aux settings are honored when linking
+       gnulib_extra_files.
+
+2007-06-19  Eric Blake  <ebb9@byu.net>
+
+       * modules/canonicalize-lgpl-tests (test_canonicalize_lgpl_LDADD):
+       Allow compilation on cygwin.
+
+2007-06-19  Jim Meyering  <jim@meyering.net>
+
+       xreadlink-with-size: Remove module.  No longer used.
+       Ex-callers now use xreadlink or mreadlink-with-size.
+       * modules/xreadlink-with-size: Remove module.
+       * lib/xreadlink-with-size.c: Remove file.
+       * lib/xreadlink.h (xreadlink_with_size): Remove prototype.
+       (xreadlink): Remove inaccurate comment.  The one in xreadlink.c,
+       just before the function definition *is* accurate.
+
+       Eliminate one way canonicalize_filename_mode could exit.
+       * lib/canonicalize.c (canonicalize_filename_mode):
+       Use mreadlink_with_size, not xreadlink_with_size.
+
+2007-06-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Detect porting problems to FreeBSD/arm, which has time_t wider than
+       long int.  Original problem reported for GNU diff by Xin Li in
+       <http://lists.gnu.org/archive/html/bug-gnu-utils/2007-06/msg00091.html>.
+       * modules/getdate (Depends-on): Add intprops, verify.
+       * lib/getdate.y: Include intprops.h, verify.h.  Verify that time_t
+       is an integer type no wider than long int.
+
+2007-06-18  Jim Meyering  <jim@meyering.net>
+
+       New module: mreadlink-with-size.
+       * MODULES.html.sh: Add mreadlink-with-size.
+       * modules/mreadlink-with-size: New module
+       * modules/canonicalize (Depends-on): Depend on mreadlink-with-size,
+       not xreadlink-with-size.
+       * lib/mreadlink-with-size.c, lib/mreadlink.h: New files.
+
+2007-06-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Catch the MacOS X 10.4 bug.
+       * doc/functions/frexpl.texi: Document the MacOS X 10.4 bug.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2007-06-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Revamp lchown so that it lives in unistd.h where it belongs.
+       * lib/lchown.h: Remove.
+       * lib/dirchownmod.c: Don't include lib/lchown.h.
+       * lib/fchownat.c: Likewise.
+       * lib/openat.c: Likewise.
+       * lib/lchown.c (REPLACE_CHOWN): Define to 0 if the system chown
+       does not follow symlinks.
+       (EOPNOTSUPP): Define if not defined.
+       * lib/unistd_.h (chown): Do not replace if REPLADE_CHOWN
+       is defined to 0.
+       (lchown): New decl.
+       * m4/lchown.m4 (gl_FUNC_LCHOWN): Require gl_UNISTD_H_DEFAULTS.
+       Do not check for lchown decl.
+       Set REPLACE_LCHOWN.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Set GNULIB_LCHOWN,
+       REPLACE_LCHOWN.
+       * modules/chown: Make it clear it follows symlinks.
+       * modules/lchown: Make it clear it doesn't follow symlinks.
+       (Files): Remove lib/lchown.h
+       (Depends-on): Add unistd.
+       (configure.ac): Add gl_UNISTD_MODULE_INDICATOR([lchown]).
+       (Include): Include <unistd.h>, not "lchown.h".
+       * modules/unistd (unistd.h): Substitude GNULIB_LCHOWN and
+       REPLACE_LCHOWN.
+
+2007-06-15  Jim Meyering  <jim@meyering.net>
+
+       Change license (GPL to LGPL) of fsusage and dependents.
+       * modules/fsusage (License): Change to LGPL.
+       * modules/full-read (License): Likewise.
+       * modules/full-write (License): Likewise.
+       * modules/safe-read (License): Likewise.
+       * modules/safe-write (License): Likewise.
+
+2007-06-14  Ben Pfaff  <blp@gnu.org>
+
+       Missing part of allocsa -> malloca transition.
+       * modules/relocatable-prog-wrapper: gl_ALLOCSA should be
+       gl_MALLOCA.
+
+2007-06-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Guess no when cross-compiling
+       to ia64, x86_64, i386.
+       Reported by Eric Blake.
+
+2007-06-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Guess no also when
+       cross-compiling to x86_64.
+
+2007-06-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability
+       glitch reported by Ralf Wildenhues in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00114.html>.
+
+       * m4/regex.m4 (gl_REGEX): Catch a bug with [[:alnum:]_-] reported by
+       Vin Shelton.
+
+2007-06-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
+       replacement string.
+       Reported by Eric Blake.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       Prepare vasnprintf code for use with Unicode strings.
+       * lib/printf-args.h (PRINTF_FETCHARGS): New macro.
+       (arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
+       TYPE_U32_STRING.
+       (argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
+       a_u32_string variants.
+       (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+       * lib/printf-args.c: Don't include config.h and the specification
+       header if PRINTF_FETCHARGS is already defined.
+       (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+       (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
+       TYPE_U16_STRING, TYPE_U32_STRING.
+       * lib/printf-parse.h [ENABLE_UNISTDIO] (u8_directive, u8_directives,
+       u16_directive, u16_directives, u32_directive, u32_directives): New
+       types.
+       (ulc_printf_parse, u8_printf_parse, u16_printf_parse, u32_printf_parse):
+       New declarations.
+       * lib/printf-parse.c: Don't include config.h and the specification
+       header if PRINTF_PARSE is already defined. Eliminate the set of
+       parameters for WIDE_CHAR_VERSION; the user of this file must provide
+       them now. Include c-ctype.h.
+       (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
+       directive and CHAR_T_ONLY_ASCII.
+       * lib/vasnprintf.c: Don't include config.h and the specification header
+       if VASNPRINTF is already defined.
+       (DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
+       (VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
+       DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
+       type. Handle the case that TCHAR_T and FCHAR_T are not of the same
+       size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
+       add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
+       code accordingly.
+       (VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
+       pad_ourselves also in this case, with the 'c' and 's' directives, and
+       with a different notion of "width".
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): New macros.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/u32-mbsnlen: New file.
+       * lib/unistr/u32-mbsnlen.c: New file.
+
+       * modules/unistr/u16-mbsnlen: New file.
+       * lib/unistr/u16-mbsnlen.c: New file.
+
+       * modules/unistr/u8-mbsnlen: New file.
+       * lib/unistr/u8-mbsnlen.c: New file.
+
+       * lib/unistr.h (u8_mbsnlen, u16_mbsnlen, u32_mbsnlen): New
+       declarations.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/string_.h (mbsnlen): New declaration.
+       * lib/mbsnlen.c: New file.
+       * m4/mbsnlen.m4: New file.
+       * modules/mbsnlen: New file.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set GNULIB_MBSNLEN.
+       * modules/string (string.h): Substitute GNULIB_MBSNLEN.
+       * MODULES.html.sh (Internationalization functions): Add mbsnlen.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbslen.c: Include <stdlib.h>, needed for MB_CUR_MAX.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
+       * lib/mbuiter.h: Likewise.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Check for _snprintf
+       declaration.
+
+2007-06-10  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt: remove gettext entries, Bruno prefers
+       to update individually.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
+       'maxlen'. Ensure only length + width bytes are allocated, not
+       length + 1 + width.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
+       (CHAR_T): Remove macro.
+       (VASNPRINTF): Update.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+       * modules/uniconv/u32-conv-to-enc: New file.
+       * lib/uniconv/u32-conv-to-enc.c: New file.
+       * modules/uniconv/u32-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u32-conv-to-enc.c: New file.
+
+       * modules/uniconv/u16-conv-to-enc: New file.
+       * lib/uniconv/u16-conv-to-enc.c: New file.
+       * lib/uniconv/u-conv-to-enc.h: New file.
+       * modules/uniconv/u16-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u16-conv-to-enc.c: New file.
+
+       * modules/uniconv/u8-conv-to-enc: New file.
+       * lib/uniconv/u8-conv-to-enc.c: New file.
+       * modules/uniconv/u8-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u8-conv-to-enc.c: New file.
+
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): New declarations.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * tests/uniconv/test-u32-strconv-to-enc.c (main): Remove unused code.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       Rename 'allocsa' -> 'malloca', 'freesa' -> 'freea'.
+       * modules/malloca: Renamed from modules/allocsa, updated.
+       * lib/malloca.h: Renamed from lib/allocsa.h, updated.
+       * lib/malloca.c: Renamed from lib/allocsa.c, updated.
+       * lib/malloca.valgrind: Renamed from lib/allocsa.valgrind, updated.
+       * m4/malloca.m4: Renamed from m4/allocsa.m4, updated.
+       * modules/malloca-tests: Renamed from modules/allocsa-tests, updated.
+       * tests/test-malloca.c: Renamed from tests/test-allocsa.c, updated.
+       * modules/xmalloca: Renamed from modules/xallocsa, updated.
+       * lib/xmalloca.h: Renamed from lib/xallocsa.h, updated.
+       * lib/xmalloca.c: Renamed from lib/xallocsa.c, updated.
+       * modules/c-strcasestr (Depends-on): Update.
+       * lib/c-strcasestr.c: Update.
+       * modules/c-strstr (Depends-on): Update.
+       * lib/c-strstr.c: Update.
+       * modules/canonicalize-lgpl (Depends-on): Update.
+       * lib/canonicalize-lgpl.c: Update.
+       * modules/clean-temp (Depends-on): Update.
+       * lib/clean-temp.c: Update.
+       * modules/csharpcomp (Depends-on): Update.
+       * lib/csharpcomp.c: Update.
+       * modules/csharpexec (Depends-on): Update.
+       * lib/csharpexec.c: Update.
+       * modules/javacomp (Depends-on): Update.
+       * lib/javacomp.c: Update.
+       * modules/javaexec (Depends-on): Update.
+       * lib/javaexec.c: Update.
+       * modules/mbscasestr (Depends-on): Update.
+       * lib/mbscasestr.c: Update.
+       * modules/mbsstr (Depends-on): Update.
+       * lib/mbsstr.c: Update.
+       * modules/setenv (Depends-on): Update.
+       * lib/setenv.c: Update.
+       * modules/strcasestr (Depends-on): Update.
+       * lib/strcasestr.c: Update.
+       * modules/striconveha (Depends-on): Update.
+       * lib/striconveha.c: Update.
+       * modules/relocatable-prog-wrapper (Files): Update.
+       * lib/relocwrapper.c: Update.
+       * build-aux/install-reloc: Update.
+       * MODULES.html.sh (Memory management functions <stdlib.h>): Update.
+
+2007-06-08  Bruno Haible  <bruno@clisp.org>
+
+       Port to uClibc.
+       * lib/fbufmode.c (fbufmode): Add special code for uClibc.
+       * lib/fpurge.c (fpurge): Likewise.
+       * lib/freading.c (freading): Likewise.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+       * lib/fseterr.c (fseterr): Likewise.
+       * lib/fwriting.c (fwriting): Likewise.
+       * tests/test-fflush.c (main): Avoid a failure on uClibc.
+
+2007-06-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intlmacosx.m4: New file, extracted from gettext.m4.
+       * m4/gettext.m4 (gt_INTL_MACOSX): Remove macro, moved to intlmacosx.m4.
+       * modules/gettext (Files): Add m4/intlmacosx.m4.
+
+2007-06-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/localename-tests: New file.
+       * tests/test-localename.c: New file.
+
+       New module 'localename'.
+       * lib/localename.h: New file.
+       * lib/localename.c: New file, from GNU gettext.
+       * m4/localename.m4: New file.
+       * modules/localename: New file.
+
+2007-06-07  Bruno Haible  <bruno@clisp.org>
+
+       Work around the lack of <wchar.h> on some builds of uClibc.
+       * doc/headers/wchar.texi: Update.
+       * lib/wchar_.h: Include <wchar.h> only if it exists.
+       * m4/wchar.m4 (gl_WCHAR_H): Check for <wchar.h>. Set HAVE_WCHAR_H.
+       * m4/stdint.m4 (gl_STDINT_H): Check for <wchar.h>.
+       (gl_STDINT_TYPE_PROPERTIES): Don't try to include <wchar.h> if it
+       doesn't exist.
+       * modules/wchar (wchar.h): Substitute HAVE_WCHAR_H.
+       * modules/mbfile (Depends-on): Add wchar.
+       * modules/mbiter (Depends-on): Likewise.
+       * modules/mbuiter (Depends-on): Likewise.
+       Reported by Simon Josefsson.
+
+2007-06-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Work around problem reported by Steven M. Schweda in
+       <http://lists.gnu.org/archive/html/bug-tar/2007-06/msg00002.html>:
+       Tru64 5.1B with the Compaq compiler environment installed declares
+       an 'isblank' function but does not define it in the C library.
+       * lib/fnmatch.c (isblank): Check for HAVE_ISBLANK, too.
+       * lib/regex_internal.h (isblank): Likewise.
+       * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for isblank existence.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+
+2007-06-05  Bruno Haible  <bruno@clisp.org>
+
+       Fix *printf so that it recognizes non-IEEE numbers on i386, x86_64,
+       ia64.
+       * modules/printf-safe: New file.
+       * modules/fprintf-posix (Depends-on): Add printf-safe.
+       * modules/printf-posix (Depends-on): Likewise.
+       * 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/vprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Require
+       AC_C_BIGENDIAN. Define CHECK_PRINTF_SAFE if printf-safe is used. Test
+       non-IEEE numbers on i386, x86_64, ia64. When cross-compiling, guess
+       "no" on i386, x86_64, ia64.
+       * tests/test-snprintf-posix.h (LDBL80_WORDS): New macro.
+       (test_function): Check result of %La, %Lf, %Le, %Lg on non-IEEE numbers
+       on i386, x86_64, ia64.
+       * tests/test-sprintf-posix.h (LDBL80_WORDS): New macro.
+       (test_function): Check result of %La, %Lf, %Le, %Lg on non-IEEE numbers
+       on i386, x86_64, ia64.
+       * tests/test-vasnprintf-posix.c: Include float.h.
+       (LDBL80_WORDS): New macro.
+       (test_function): Check result of %La, %Lf, %Le, %Lg on non-IEEE numbers
+       on i386, x86_64, ia64.
+       * tests/test-vasprintf-posix.c: Include float.h.
+       (LDBL80_WORDS): New macro.
+       (test_function): Check result of %La, %Lf, %Le, %Lg on non-IEEE numbers
+       on i386, x86_64, ia64.
+       * tests/test-snprintf-posix.c: Include float.h.
+       * tests/test-sprintf-posix.c: Likewise.
+       * tests/test-vsnprintf-posix.c: Likewise.
+       * tests/test-vsprintf-posix.c: Likewise.
+
+2007-06-05  Bruno Haible  <bruno@clisp.org>
+
+       Fix isnanl so that it recognizes non-IEEE numbers on i386, x86_64, ia64.
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Require AC_C_BIGENDIAN. Test
+       non-IEEE numbers on i386, x86_64, ia64.
+       (gl_LONG_DOUBLE_EXPONENT_LOCATION): Require AC_C_BIGENDIAN.
+       * lib/isnan.c (FUNC): Add special code for i386, x86_64, ia64.
+       * tests/test-isnanl.h: Include float.h.
+       (main): Check also non-IEEE numbers on i386, x86_64, ia64.
+
+2007-06-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Do the extra handling of NaN and Inf
+       also the %a / %A. Handle the %a / %A code before this extra handling.
+
+2007-06-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c [NEED_PRINTF_LONG_DOUBLE ||
+       NEED_PRINTF_INFINITE_LONG_DOUBLE]: Include fpucw.h.
+
+2007-06-05  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE): Fix
+       typo in variable name.
+
+2007-06-05  Eric Blake  <ebb9@byu.net>
+
+       * m4/lseek.m4 (gl_FUNC_LSEEK): Work when cross-compiling.
+       Reported by Simon Josefsson.
+
+2007-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on some PowerPC platforms.
+       * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP):
+       Define differently for PowerPC.
+       * tests/test-frexpl.c (MIN_NORMAL_EXP): Likewise.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2007-06-02  Bruno Haible  <bruno@clisp.org>
+
+       Fix test-stdint failure on FreeBSD/ia64.
+       * m4/stdint.m4 (gl_STDINT_H): Check the values of PTRDIFF_MIN,
+       PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN,
+       WCHAR_MAX, WINT_MIN, WINT_MAX entirely, not only for plausibility.
+       * doc/headers/stdint.texi: Update.
+
+2007-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-binary-io.c (main): Pass a third argument to open().
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2007-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * doc/functions/frexpl.texi: Update for mingw.
+
+2007-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lseek.c (main): Disable test of errno for invalid third
+       argument.
+       * doc/functions/lseek.texi: Update.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2007-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intl.m4 (AM_INTL_SUBDIR): Substitute variables WOE32, WINDRES.
+
+2007-05-31  Eric Blake  <ebb9@byu.net>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Guess no on mingw when
+       cross compiling.
+
+2007-05-30  Eric Blake  <ebb9@byu.net>
+       and Bruno Haible  <bruno@clisp.org>
+
+       Work around mingw test failures exposed by m4-1.4.9b.
+       * m4/stdint.m4 (gl_STDINT_H): Detect mingw bug.
+       * tests/test-unistd.c: Disable uid_t and git_t tests for the
+       moment.
+
+2007-05-30  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lseek.c: Explicitly close file descriptors 0 and 1 before
+       assuming that they are closed. Needed on HP-UX 11.
+
+2007-05-29  Bruno Haible  <bruno@clisp.org>
+
+       Fix a problem with #include_next.
+       * lib/dirent_.h: Split the double-inclusion guard.
+       * lib/fcntl_.h: Likewise.
+       * lib/float_.h: Likewise.
+       * lib/iconv_.h: Likewise.
+       * lib/inttypes_.h: Likewise.
+       * lib/locale_.h: Likewise.
+       * lib/math_.h: Likewise.
+       * lib/netinet_in_.h: Likewise.
+       * lib/search_.h: Likewise.
+       * lib/signal_.h: Likewise.
+       * lib/stdint_.h: Likewise.
+       * lib/stdio_.h: Likewise.
+       * lib/stdlib_.h: Likewise.
+       * lib/string_.h: Likewise.
+       * lib/sys_select_.h: Likewise.
+       * lib/sys_socket_.h: Likewise.
+       * lib/sys_stat_.h: Likewise.
+       * lib/sys_time_.h: Likewise.
+       * lib/sysexits_.h: Likewise.
+       * lib/time_.h: Likewise.
+       * lib/unistd_.h: Likewise.
+       * lib/wchar_.h: Likewise.
+       * lib/wctype_.h: Likewise.
+
+2007-05-29  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-unistd.c: Disable the tests for useconds_t and intptr_t
+       for the moment.
+
+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.