Use the EOVERFLOW module instead of a manual fallback for EOVERFLOW.
[pspp] / ChangeLog
index 1e0254d74c6e3cf5dd6733d1aa1b56619fbfec01..d941dd1dce0ca027d912473055ae155b9d61f9c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,141 @@
+2008-03-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistdio/u-vsprintf.h (EOVERFLOW): Remove fallback.
+       * modules/unistdio/ulc-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-u8-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-u16-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-vsprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-u32-vsprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/unistdio/u-vsnprintf.h (EOVERFLOW): Remove fallback.
+       * modules/unistdio/ulc-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-u8-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-u16-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-vsnprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-u32-vsnprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/unistdio/u-vasprintf.h (EOVERFLOW): Remove fallback.
+       * modules/unistdio/ulc-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-u8-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-u16-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-vasprintf (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-u32-vasprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/unistdio/ulc-vfprintf.c (EOVERFLOW): Remove fallback.
+       * modules/unistdio/ulc-vfprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/unistdio/ulc-fprintf.c (EOVERFLOW): Remove fallback.
+       * modules/unistdio/ulc-fprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/xvasprintf.c (EOVERFLOW): Remove fallback.
+       * modules/xvasprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/vsprintf.c (EOVERFLOW): Remove fallback.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/vsprintf-posix (Depends-on): Add EOVERFLOW.
+
+       * lib/vsnprintf.c (EOVERFLOW): Remove fallback.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/vsnprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/vfprintf.c (EOVERFLOW): Remove fallback.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/vfprintf-posix (Depends-on): Add EOVERFLOW.
+
+       * lib/vasprintf.c (EOVERFLOW): Remove fallback.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/vasprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/vasnprintf.c (EOVERFLOW): Remove fallback.
+       * m4/vasnprintf.m4 (gl_FUNC_VASNPRINTF): Drop gl_EOVERFLOW.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/ulc-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u8-u8-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u16-u16-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+       * modules/unistdio/u32-u32-vasnprintf (Files): Remove m4/eoverflow.m4.
+       (Depends-on): Add EOVERFLOW.
+
+       * lib/sprintf.c (EOVERFLOW): Remove fallback.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/sprintf-posix (Depends-on): Add EOVERFLOW.
+
+       * lib/snprintf.c (EOVERFLOW): Remove fallback.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/snprintf (Depends-on): Add EOVERFLOW.
+
+       * lib/poll.c (EOVERFLOW): Remove fallback.
+       * modules/poll (Depends-on): Add EOVERFLOW.
+
+       * lib/getugroups.c (EOVERFLOW): Remove fallback.
+       * modules/getugroups (Depends-on): Add EOVERFLOW.
+
+       * lib/getdelim.c (EOVERFLOW): Remove fallback.
+       * modules/getdelim (Depends-on): Add EOVERFLOW.
+
+       * lib/ftell.c (EOVERFLOW): Remove fallback.
+       * modules/ftell (Depends-on): Add EOVERFLOW.
+
+       * lib/fprintf.c (EOVERFLOW): Remove fallback.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Drop gl_EOVERFLOW.
+       * modules/fprintf-posix (Depends-on): Add EOVERFLOW.
+
+       * lib/c-stack.c (EOVERFLOW): Remove unused fallback.
+
+       * modules/EOVERFLOW-tests: New file.
+       * tests/test-EOVERFLOW.c: New file.
+
+       * modules/EOVERFLOW: New file.
+       * doc/posix-headers/errno.texi: Mention EOVERFLOW portability problem.
+
+2008-03-30  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2007-06-10.
+       * lib/vasnprintf.c (VASNPRINTF): When performing zero-padding, use
+       spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
+
+2008-03-30  Bruno Haible  <bruno@clisp.org>
+
+       Improve freadseek's efficiency after ungetc.
+       * lib/freadseek.c: Include freadahead.h.
+       (freadptrinc): New function, extracted from freadseek.
+       (freadseek): Use it in a loop. Use freadahead to determine the number
+       of loop iterations.
+       * modules/freadseek (Depends-on): Add freadahead.
+       (configure.ac): Require AC_C_INLINE.
+
+2008-03-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freadseek.c (freadseek): Don't ignore the return value of
+       freadptr.
+
 2008-03-29  Eric Blake  <ebb9@byu.net>
 
+       Add hex float support.
+       * modules/strtod (Depends-on): Add c-ctype.
+       (Link): Mention POW_LIB.
+       * lib/strtod.c (strtod): Recognize hex floats.  Don't allow
+       whitespace between 'e' and exponent.
+       * tests/test-strtod.c (main): Enable hex float tests.
+       * doc/posix-functions/strtod.texi (strtod): Document what gnulib
+       now provides.
+
        Document various strtod bugs, with some fixes.
        * doc/posix-functions/strtod.texi (strtod): Document bugs with
        "-0x", "inf", "nan", and hex constants.
        * tests/test-ftello.c (main): Likewise.
 
        Pass test-freadseek on cygwin.
-       * modules/freadseek (Depends-on): Use freadptr, not freadseek.
+       * modules/freadseek (Depends-on): Use freadptr, not freadahead.
        * lib/freadseek.c (freadseek): Don't increment beyond bounds of
        ungetc buffer.
+
        * tests/test-fflush2.c (main): Fix typo.
 
 2008-03-29  Bruno Haible  <bruno@clisp.org>