* lib/stat-time.h (USE_BIRTHTIME): Remove.
[gnulib.git] / ChangeLog
index 4ca6de2..b8f5db0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,110 @@
+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.
        * 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
        * 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>