* lib/stat-time.h (USE_BIRTHTIME): Remove.
[gnulib.git] / ChangeLog
index 841208c..b8f5db0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,819 @@
+2007-03-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/stat-time.h (USE_BIRTHTIME): Remove.
+       (get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns):
+       (get_stat_birthtime_ns): Do not try to use "spare" fields.
+       (get_stat_birthtime_ns): Simplify compile-time tests.
+       (get_stat_birthtime): Change the API to look like
+       get_stat_mtime etc., except return a negative tv_nsec on error.
+       * m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME):
+       Don't check for "spare" fields.
+       (gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec
+       or for struct stat.st_birthtime, as these tests aren't used.
+       * tests/test-stat-time.c (test_birthtime): Adjust to new API.
+
+2007-03-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stat-time.h: Include <sys/stat.h>.
+
+2007-03-27  James Youngman  <jay@gnu.org>
+
+       * lib/stat-time.h (get_stat_birthtime): New function for
+         retrieving st_birthtime as provided by UFS2 (hence *BSD).
+       * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Probe for st_birthtime
+         and its variants.
+       * modules/stat-time (configure.ac): call gl_STAT_BIRTHTIME.
+       * modules/stat-time-test: New file.
+       * tests/test-stat-time.c: New test, devised by Bruno Haible.
+
+2007-03-26  Bruno Haible  <bruno@clisp.org>
+
+       Better support of signalling NaNs.
+       * lib/atanl.c: Include isnanl.h.
+       (atanl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/cosl.c: Include isnanl.h.
+       (cosl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/ldexpl.c: Include isnanl.h.
+       (ldexpl): Perform test for NaN through a call to isnanl.
+       * lib/logl.c: Include isnanl.h.
+       (logl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/sinl.c: Include isnanl.h.
+       (sinl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/sqrtl.c: Include isnanl.h.
+       (sqrtl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/tanl.c: Include isnanl.h.
+       (tanl): Perform test for NaN at the beginning of the function and
+       through a call to isnanl.
+       * lib/trigl.c (ieee754_rem_pio2l): Remove test for NaN.
+       * modules/mathl (Depends-on): Add isnanl.
+
+2007-03-26  Eric Blake  <ebb9@byu.net>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
+       regression in logic sense of previous patch.
+
+2007-03-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Don't use
+       unportable shell command "if ! ...".
+       Reported by Ralf Wildenhues.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sysexit_,h: If HAVE_SYSEXITS_H is defined, include the original
+       <sysexits.h> file, and only add EX_CONFIG.
+       * m4/sysexits.m4 (gl_SYSEXITS): If <sysexits.h> exists, check its
+       absolute file name and whether it is sufficient. Substitute also
+       HAVE_SYSEXITS_H and ABSOLUTE_SYSEXITS_H.
+       * modules/sysexits (Makefile.am): Substitute HAVE_SYSEXITS_H and
+       ABSOLUTE_SYSEXITS_H into sysexits.h.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/getaddrinfo.c (getaddrinfo): Don't access hints->ai_flags when
+       hints is NULL.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Add a cast.
+       * lib/uniconv/u8-strconv-to-enc.c (u8_strconv_to_encoding): Likewise.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c: Include langinfo.h.
+       (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
+       multithread-safe.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): New macro.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke it.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX: Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       Reported by Simon Josefsson.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
+       (PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
+       * modules/vasnprintf (Depends-on): Add stdint.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fpieee: New file.
+       * m4/fpieee.m4: New file.
+       * modules/isnan-nolibm (Depends-on): Add fpieee.
+       * modules/isnanl-nolibm (Depends-on): Add fpieee.
+       * modules/isnanl (Depends-on): Add fpieee.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Test also finite numbers.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on IRIX 6.5.
+       * tests/test-frexpl.c (MIN_NORMAL_EXP): New macro.
+       (main): Use it.
+       * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP): New
+       macros.
+       (main): Use them.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): New macro.
+       (gl_FUNC_FREXPL): Invoke it. Set REPLACE_FREXPL to 1 if it frexpl
+       exists but doesn't work.
+       * lib/math_.h (frexpl): Define as a replacement macro if REPLACE_FREXPL
+       is set. Don't provide a prototype if REPLACE_FREXPL is not set.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FREXPL.
+       * modules/math (Makefile.am) Substibute also REPLACE_FREXPL into math.h.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Add check whether frexp(inf)
+       returns inf. Needed on IRIX 6.5.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-frexpl.c: Include isnanl-nolibm.h.
+       (main): Use isnanl instead of x != x idiom.
+       * modules/frexpl-tests (Depends-on): Add isnanl-nolibm.
+
+       * tests/test-frexp.c: Include isnan.h.
+       (main): Use isnan instead of x != x idiom.
+       * modules/frexp-tests (Depends-on): Add isnan-nolibm.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-frexp.c (NaN): New function/macro.
+       (main): Use it instead of 0.0 / 0.0.
+       * tests/test-isnan.c (NaN): New function/macro.
+       (main): Use it instead of 0.0 / 0.0.
+       * tests/test-vasnprintf-posix.c (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+       * tests/test-vasprintf-posix.c (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+       * tests/test-snprintf-posix.h (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+       * tests/test-sprintf-posix.h (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+       * tests/test-fprintf-posix.h (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+       * tests/test-printf-posix.h (NaN): New function/macro.
+       (test_function): Use it instead of 0.0 / 0.0.
+
+       * lib/isnan.c (FUNC): Work around a DEC C compiler bug.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glob_.h: Include <sys/stat.h>. Avoids warnings on AIX 5.1.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/regexec.c (merge_state_with_log): Make static.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/trigl.c (kernel_rem_pio2): Make static.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sincosl.c (sincosl_table): Make static.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/argp.h (__restrict): Define to empty, rather than to 'restrict',
+       if the compiler does not support C99.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/time (Makefile.am): Ensure all rule action lines start with a
+       tab.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tsearch-tests: New file.
+       * tests/test-tsearch.sh: New file.
+       * tests/test-tsearch.c: New file, mostly copied from glibc.
+
+       * modules/search-tests: New file.
+       * tests/test-search.c: New file.
+
+       * modules/search: New file.
+       * lib/search_.h: New file, incorporating lib/tsearch.h.
+       * m4/search_h.m4: New file.
+       * lib/tsearch.h: Remove file.
+       * lib/tsearch.c: Include search.h instead of tsearch.h.
+       * m4/tsearch.m4 (gl_FUNC_TSEARCH): Require gl_SEARCH_H_DEFAULTS. Set
+       HAVE_TSEARCH.
+       * modules/tsearch (Files): Remove lib/tsearch.h.
+       (Depends-on): Add search.
+       (configure.ac): Invoke gl_SEARCH_MODULE_INDICATOR.
+       (Include): Change tsearch.h into search.h.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fpucw: New file.
+       * lib/fpucw.h: New file.
+       * lib/frexp.c: Include fpucw.h.
+       (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+       (FUNC): Use them.
+       * lib/printf-frexp.c: Include fpucw.h.
+       (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+       (FUNC): Use them.
+       * lib/vasnprintf.c: Include fpucw.h.
+       (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
+       'long double' calculations.
+       * tests/test-frexpl.c: Include fpucw.h.
+       (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+       * tests/test-printf-frexpl.c: Include fpucw.h.
+       (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+       * modules/frexpl (Depends-on): Add fpucw.
+       * modules/printf-frexpl (Depends-on): Likewise.
+       * modules/fprintf-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/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * modules/frexpl-tests (Depends-on): Likewise.
+       * modules/printf-frexpl-tests (Depends-on): Likewise.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/float+.h: New file.
+       * lib/isnan.c: Include float+.h.
+       (SIZE): New macro.
+       (FUNC): Compare only SIZE bytes of the value.
+       * lib/vasnprintf.c: Include float+.h.
+       (VASNPRINTF): When comparing agains +0.0L or +0.0, compare only
+       SIZEOF_LDBL or SIZEOF_DBL bytes.
+       * modules/isnan-nolibm (Files): Add lib/float+.h.
+       * modules/isnanl-nolibm (Files): Add lib/float+.h.
+       * modules/isnanl (Files): Add lib/float+.h.
+       * modules/vasnprintf (Files): Add lib/float+.h.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
+       include isnanl-nolibm.h.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-read-file.c (main): Don't produce spurious output for
+       expected situations. Make the test fail if it encountered unexpected
+       results.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR): Remove the special-casing of NetBSD,
+       since its fr_FR.ISO8859-1 locale wouldn't pass the tests.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Fix last change.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/base (Depends-on): Remove utf8-ucs4-unsafe,
+       utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.
+
+       * modules/unistr/u8-mbtouc: Add source files from module utf8-ucs4.
+       * modules/utf8-ucs4: Turn into a symbolic link to module
+       unistr/u8-mbtouc.
+
+       * modules/unistr/u8-mbtouc-unsafe: Add source files from module
+       utf8-ucs4-unsafe.
+       * modules/utf8-ucs4-unsafe: Turn into a symbolic link to module
+       unistr/u8-mbtouc-unsafe.
+
+       * modules/unistr/u16-mbtouc: Add source files from module utf16-ucs4.
+       * modules/utf16-ucs4: Turn into a symbolic link to module
+       unistr/u16-mbtouc.
+
+       * modules/unistr/u16-mbtouc-unsafe: Add source files from module
+       utf16-ucs4-unsafe.
+       * modules/utf16-ucs4-unsafe: Turn into a symbolic link to module
+       unistr/u16-mbtouc-unsafe.
+
+       * modules/unistr/u8-uctomb: Add source files from module utf4-utf8.
+       * modules/ucs4-utf8: Turn into a symbolic link to module
+       unistr/u8-ubtomb.
+
+       * modules/unistr/u16-uctomb: Add source files from module utf4-utf16.
+       * modules/ucs4-utf16: Turn into a symbolic link to module
+       unistr/u16-ubtomb.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u8-mbtouc-aux.c: Renamed from lib/unistr/utf8-ucs4.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u8-mbtouc-unsafe-aux.c: Renamed from
+       lib/unistr/utf8-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-mbtouc-aux.c: Renamed from lib/unistr/utf16-ucs4.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-mbtouc-unsafe-aux.c: Renamed from
+       lib/unistr/utf16-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+       * lib/unistr/u8-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf8.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf16.c.
+       Enable the function only if HAVE_INLINE.
+       * modules/utf8-ucs4: Update.
+       * modules/utf8-ucs4-unsafe: Update.
+       * modules/utf16-ucs4: Update.
+       * modules/utf16-ucs4-unsafe: Update.
+       * modules/ucs4-utf8: Update.
+       * modules/ucs4-utf16: Update.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/utf8-ucs4.h: Remove file.
+       * lib/utf8-ucs4-unsafe.h: Remove file.
+       * lib/utf16-ucs4.h: Remove file.
+       * lib/utf16-ucs4-unsafe.h: Remove file.
+       * lib/ucs4-utf8.h: Remove file.
+       * lib/ucs4-utf16.h: Remove file.
+       * lib/unistr.h: Include their previous contents.
+       * m4/utf-ucs4.m4: Remove file.
+       * m4/ucs4-utf.m4: Remove file.
+       * modules/utf8-ucs4 (Files): Remove lib/utf8-ucs4.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf8-ucs4-unsafe (Files): Remove lib/utf8-ucs4-unsafe.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf16-ucs4 (Files): Remove lib/utf16-ucs4.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf16-ucs4-unsafe (Files): Remove lib/utf16-ucs4-unsafe.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/ucs4-utf8 (Files): Remove lib/ucs4-utf8.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UCS4_UTF.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/ucs4-utf16 (Files): Remove lib/ucs4-utf16.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UCS4_UTF.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * lib/unistr/utf8-ucs4.c: Include unistr.h instead of utf8-ucs4.h.
+       * lib/unistr/utf8-ucs4-unsafe.c: Include unistr.h instead of
+       utf8-ucs4-unsafe.h.
+       * lib/unistr/utf16-ucs4.c: Include unistr.h instead of utf16-ucs4.h.
+       * lib/unistr/utf16-ucs4-unsafe.c: Include unistr.h instead of
+       utf16-ucs4-unsafe.h.
+       * lib/unistr/ucs4-utf8.c: Include unistr.h instead of ucs4-utf8.h.
+       * lib/unistr/ucs4-utf16.c: Include unistr.h instead of ucs4-utf16.h.
+       * lib/unistr/u8-chr.c: Don't include ucs4-utf8.h.
+       * lib/unistr/u8-strchr.c: Likewise.
+       * lib/unistr/u8-strrchr.c: Likewise.
+       * lib/unistr/u16-chr.c: Don't include ucs4-utf16.h.
+       * lib/unistr/u16-strchr.c: Likewise.
+       * lib/unistr/u16-strrchr.c: Likewise.
+       * lib/striconveh.c: Update.
+       * lib/linebreak.c: Update.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/argp-help.c (fill_in_uparams, canon_doc_option): Cast the
+       arguments of isspace, isalpha, isalnum, isdigit to 'unsigned char'.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strptime.c (__strptime_internal): Use ANSI C syntax.
+
+2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (File system functions): New module write-any-file.
+       * modules/write-any-file, lib/write-any-file.c, lib/write-any-file.h:
+       * m4/write-any-file.m4: New files.
+
+2007-03-23  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool: Rearrange space-tab sequences, since some editors
+       like to eat them.
+
+2007-03-23  Eric Blake  <ebb9@byu.net>
+
+       * lib/version-etc.c (version_etc_va): Update license wording to
+       be more concise.  Recommended by Richard Stallman.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/poll.c (MSG_PEEK): New fallback definition.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sys_socket-tests (configure.ac): Check for shutdown function.
+       * tests/test-sys_socket.c (a): Test only if shutdown() exists.
+       (main): Update.
+       Fixes a compilation error on BeOS.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexpl-tests: New file.
+       * tests/test-frexpl.c: New file.
+
+       * modules/frexpl: New file.
+       * m4/frexpl.m4: New file.
+       * modules/math (Makefile.am): Also substitute GNULIB_FREXPL into math.h.
+       * lib/math_.h (frexpl): Test GNULIB_FREXPL instead of GNULIB_MATHL.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FREXPL.
+       * modules/mathl (Files): Remove lib/frexpl.c, lib/frexp.c.
+       (Depends-on): Add frexpl. Remove isnanl-nolibm.
+       * m4/mathl.m4 (gl_FUNC_LONG_DOUBLE_MATH): Don't test for frexpl.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/frexpl.c: Share code with lib/frexp.c.
+       * modules/mathl (Files): Add lib/frexp.c.
+       (Depends-on): Add isnanl-nolibm.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/printf-frexp (Files): Add m4/frexp.m4.
+       * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Define HAVE_FREXP_IN_LIBC
+       only if the found frexp function actually works.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/frexp.c: Remove older implementation that uses divisions.
+
+2007-03-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexp-tests: New file.
+       * tests/test-frexp.c: New file.
+
+       * modules/frexp: New file.
+       * lib/frexp.c: New file.
+       * m4/frexp.m4: New file.
+       * lib/math_.h (frexp): New declaration.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Also initialize GNULIB_FREXP and
+       REPLACE_FREXP.
+       * modules/math (math.h): Also substitute GNULIB_FREXP, REPLACE_FREXP.
+
+2007-03-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/isnanl-tests: New file.
+       * tests/test-isnanl.c: New file.
+
+       * modules/isnanl: New file.
+       * lib/isnanl.h: New file.
+       * m4/isnanl.m4 (gl_FUNC_ISNANL): New macro.
+       (gl_FUNC_ISNANL_NO_LIBM): Invoke gl_HAVE_ISNANL_NO_LIBM,
+       gl_FUNC_ISNANL_WORKS.
+       (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM, gl_FUNC_ISNANL_WORKS):
+       New macros.
+
+2007-03-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/isnanl-nolibm (Files): Add lib/isnanl-nolibm.h, remove
+       lib/isnanl.h.
+       (Include): Update.
+       * lib/isnanl-nolibm.h: Renamed from lib/isnanl.h.
+       * lib/vasnprintf.c: Update.
+       * modules/isnanl-nolibm-tests (Files): Add tests/test-isnanl-nolibm.c,
+       tests/test-isnanl.h, remove tests/test-isnanl.c.
+       (Makefile.am): Update.
+       * tests/test-isnanl-nolibm.c: New file.
+       * tests/test-isnanl.h: New file.
+       * tests/test-isnanl.c: Remove file.
+
+2007-03-21  Jim Meyering  <jim@meyering.net>
+
+       When trying to open ".", treat ESTALE like EACCES.
+       * lib/savewd.c (savewd_save): Resort to forking not just upon
+       failure with EACCES, but also when errno is ESTALE.
+
+2007-03-20  Bruno Haible  <bruno@clisp.org>
+
+       * lib/string_.h (strndup): Enable declaration also if HAVE_STRNDUP.
+       Needed on AIX 5.1. Reported by Matthew Woehlke.
+
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Suggestions by Bruno Haible:
+       * lib/acl-internal.h: Include "gettext.h" rather than rolling
+       our own.
+       (ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used.
+       * modules/acl (Depends-on): Add gettext.
+
+2007-03-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconvme: Remove file.
+       * lib/iconvme.h: Remove file.
+       * lib/iconvme.c: Remove file.
+       * m4/iconvme.m4: Remove file.
+
+2007-03-19  Bruno Haible  <bruno@clisp.org>
+
+       * doc/relocatable-maint.texi: Break long shell script line.
+       Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add limited support for Solaris 10 ZFS-style ACLs: just enough to
+       handle file_has_acl.
+       * lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files.
+       * lib/acl.c: Move header inclusions and related macro defns into
+       lib/acl-internal.h.
+       (S_ISLNK): Remove defn, since that's now done for us.
+       (file_has_acl): Move to lib/file-has-acl.c.
+       Call acl_trivial if available.  This is the crucial part of the fix.
+       (acl_entries): Move to lib/acl_entries.c.  Now extern, since it's
+       shared within the library.  Rewrite a bit, partly to make it compatible
+       with the GNU coding style.
+       * m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]).
+       Remove unnecessary double-quotes.
+       Don't test for acl_to_text; the build will catch that.
+       Replace acl_entries if it doesn't exist and it is needed.
+       Check for -lsec and acl_trivial (as used on Solaris 10).
+       * modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c,
+       lib/file-has-acl.c.
+       (Depends-on): Add sys_stat, for S_ISLNK.
+
+2007-03-19  Ben Pfaff  <blp@gnu.org>
+
+       * doc/gnulib.texi: Fix typos.
+       Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.
+       If size is zero here, buf must be zero.
+
+2007-03-19  Simon Josefsson  <simon@josefsson.org>
+
+       * des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
+       <bruno@clisp.org>.
+
+2007-03-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch.
+       Suggested by Eric Blake.
+
+2007-03-18  Ben Pfaff  <blp@gnu.org>
+
+       * doc/relocatable.texi: Recommend using as prefix a directory
+       that does not exist and will never be created.  Based on
+       discussion with Bruno Haible, Ralf Wildenhues, Matthew Woehlke,
+       and others.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fchownat.c: Include lchown.h.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       Fix endless loop when the given allocated size was > INT_MAX.
+       * lib/vasnprintf.c (EOVERFLOW): New fallback definition.
+       (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
+       larger than INT_MAX, or when it grow to a value larger than INT_MAX.
+       * lib/vsprintf.c (vsprintf): Don't pass a size > INT_MAX to vasnprintf.
+       * lib/sprintf.c (sprintf): Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-argp-2.sh (func_compare): Output a context diff.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the
+       locale's decimal-point character.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
+       before comparing it. Needed because on some platforms (e.g. x86) a
+       'long double' occupies less bytes than sizeof (long double).
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-crc.c (main): Make printf statements 64-bit clean.
+       * tests/test-gc-pbkdf2-sha1.c (main): Likewise.
+       * tests/test-getaddrinfo.c (simple): Likewise.
+       * tests/test-read-file.c (main): Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-dirname.c (main): Make printf statements 64-bit clean.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Remove
+       unused variable.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-c-strcasecmp.c: Include c-strcase.h.
+       * tests/test-c-strncasecmp.c: Likewise.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdlib (Depends-on): Add unistd.
+       * lib/stdlib_.h: Include <unistd.h> if mkstemp is desired.
+       Needed for MacOS X 10.3.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u-strdup.h: Include <stdlib.h>.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u-cpy-alloc.h: Include <stdlib.h>.
+
+2007-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Update .cvsignore and .gitignore files
+       to reflect files copied from gnulib (with or without modifications).
+       Suggested by Jim Meyering.
+
+2007-03-17  Eric Blake  <ebb9@byu.net>
+
+       * NEWS: Document stdlib change from 2007-02-18.
+
+2007-03-17  Jim Meyering  <jim@meyering.net>
+
+       Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted.
+       * build-aux/bootstrap: Put ""s around use of $build_aux, in case
+       someone uses a name containing shell meta-characters.
+       Reported by Alfred M. Szmidt.
+
+       * build-aux/bootstrap: Don't use \> in grep regexp.  For HP-UX.
+
+2007-03-16  Alfred M. Szmidt  <ams@gnu.org>
+
+       * build-aux/bootstrap (with_gettext): New variable.  Run autopoint
+       and copy gettext configuration files only if configure.ac contains
+       a use of AM_GNU_GETTEXT_VERSION.
+
+2007-03-16  Alfred M. Szmidt  <ams@gnu.org>
+
+       * build-aux/bootstrap (gnulib_name): New variable.
+       (gnulib_tool_options): Use it.
+
+2007-03-13  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-des.c: Use new namespace.
+
+2007-03-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/dummy.c (gl_dummy_symbol): Renamed from 'dummy'.
+       Reported by James Youngman <jay@gnu.org>.
+
+2007-03-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glob.c (glob): Add 'restrict' so that prototype matches the
+       declared prototype. Needed with cc on OSF/1 5.1.
+
+2007-03-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gl_list.h (gl_listelement_dispose_fn): New type.
+       (gl_list_create_empty, gl_list_create): Add dispose_fn argument.
+       (struct gl_list_implementation): Add dispose_fn argument to the
+       'create_empty', 'create' methods.
+       (struct gl_list_impl_base): Add field 'dispose_fn'.
+       * lib/gl_list.c (gl_list_create_empty, gl_list_create): Add dispose_fn
+       argument.
+       * lib/gl_array_list.c (gl_array_create_empty, gl_array_create): Add
+       dispose_fn argument.
+       (gl_array_remove_node, gl_array_remove_at, gl_array_list_free): Call
+       dispose_fn on the dropped values.
+       * lib/gl_carray_list.c (gl_carray_create_empty, gl_carray_create): Add
+       dispose_fn argument.
+       (gl_carray_remove_at, gl_carray_list_free): Call dispose_fn on the
+       dropped values.
+       * lib/gl_anyavltree_list2.h (gl_tree_create): Add dispose_fn argument.
+       (gl_tree_remove_node): Call dispose_fn on the dropped value.
+       * lib/gl_anyrbtree_list2.h (gl_tree_create): Add dispose_fn argument.
+       (gl_tree_remove_node): Call dispose_fn on the dropped value.
+       * lib/gl_anytree_list2.h (gl_tree_create_empty): Add dispose_fn
+       argument.
+       (gl_tree_list_free): Call dispose_fn on the dropped values.
+       * lib/gl_anytreehash_list2.h (gl_tree_list_free): Call dispose_fn on
+       the dropped values.
+       * lib/gl_anylinked_list2.h (gl_linked_create_empty, gl_linked_create):
+       Add dispose_fn argument.
+       (gl_linked_remove_node, gl_linked_remove_at, gl_linked_list_free):
+       Call dispose_fn on the dropped values.
+       * lib/gl_sublist.c (gl_sublist_create_empty, gl_sublist_create_fill):
+       Add dispose_fn argument.
+       (gl_sublist_create): Initialize the 'dispose_fn' field.
+       * lib/clean-temp.c (create_temp_dir, register_fd): Update.
+       * tests/test-array_list.c (main): Update.
+       * tests/test-carray_list.c (main): Update.
+       * tests/test-avltree_list.c (main): Update.
+       * tests/test-rbtree_list.c (main): Update.
+       * tests/test-avltreehash_list.c (main): Update.
+       * tests/test-rbtreehash_list.c (main): Update.
+       * tests/test-linked_list.c (main): Update.
+       * tests/test-linkedhash_list.c (main): Update.
+       * tests/test-array_oset.c (main): Update.
+
+2007-03-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gl_oset.h (gl_setelement_dispose_fn): New type.
+       (gl_oset_create_empty): Add dispose_fn argument.
+       (struct gl_oset_implementation): Add dispose_fn argument to
+       'create_empty' method.
+       (struct gl_oset_impl_base): Add dispose_fn field.
+       * lib/gl_oset.c (gl_oset_create_empty): Add dispose_fn argument.
+       * lib/gl_array_oset.c (gl_array_create_empty): Add dispose_fn argument.
+       (gl_array_remove_at, gl_array_free): Call dispose_fn on the dropped
+       values.
+       * lib/gl_anytree_oset.h (gl_tree_create_empty): Add dispose_fn argument.
+       (gl_tree_oset_free): Call dispose_fn on the dropped values.
+       * lib/gl_avltree_oset.c (gl_tree_remove_node): Call dispose_fn on the
+       dropped value.
+       * lib/gl_rbtree_oset.c (gl_tree_remove_node): Call dispose_fn on the
+       dropped value.
+       * tests/test-array_oset.c (main): Update.
+       * tests/test-avltree_oset.c (main): Update.
+       * tests/test-rbtree_oset.c (main): Update.
+       * lib/gl_anytreehash_list1.h (add_to_bucket): Update.
+
+2007-03-13  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-stdbool.c (i): Update after last patch.
+
+2007-03-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/quotearg.c: Include <wctype.h> early, before the definition of
+       the iswprint macro. Needed on Solaris 2.5.1.
+
+2007-03-12  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-printf-frexp.c (main): Declare x as volatile.
+
+2007-03-12  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (Build robot for gnulib): New section.
+
+2007-03-12  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/bootstrap: New file.
+       * build-aux/bootstrap.conf: New file, from coreutils.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/cycle-check.m4 (gl_CYCLE_CHECK): Require AC_C_INLINE.
+
+2007-03-12  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/des.h, lib/des.c, lib/gc-gnulib.c: Use gl_ namespace, to
+       avoid collisions with 'des_setkey'.  Reported by Bruno Haible
+       <bruno@clisp.org>.  Also change 'tripledes_' to '3des_'.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): If the test program fails to
+       compile, set LOCALE_TR_UTF8 to 'none' instead of empty.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint_.h (INT64_MIN, INTMAX_MIN): Avoid using the ~INT..._MAX
+       formula. Needed for SunPRO C 5.0.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/long-options (Depends-on): Add getopt.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/modechange (Depends-on): Add stdbool.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/i-ring (Depends-on): Add stdbool.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gc-des (Depends-on): Add stdbool.
+
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mktime.m4 (gl_PREREQ_MKTIME): Require AC_C_INLINE.
+
 2007-03-11  Bruno Haible  <bruno@clisp.org>
 
        * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Require AC_C_RESTRICT.