X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5225d25d5102c1a76dc08385d7a22faf396b45c6;hb=a9b486446b726424252a50491ad5721b1bc4467a;hp=fe72f6fabc94f12266d5712edeb59fdd1f14e4ef;hpb=3b3e9653139a9423e7d980cc6f9e3160111c9930;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index fe72f6fab..5225d25d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,211 @@ +2008-03-30 Eric Blake + + strtod touchups. + * lib/strtod.c (strtod): Avoid compiler warnings. + Reported by Jim Meyering. + +2008-03-30 Bruno Haible + + * 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 + + 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 + + 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 + + * lib/freadseek.c (freadseek): Don't ignore the return value of + freadptr. + +2008-03-29 Eric Blake + + 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. + * doc/posix-functions/atof.texi (atof): Likewise. + * modules/stdlib (Makefile.am): Support strtod. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise. + * m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and + detect additional strtod bugs. + * lib/stdlib.in.h (rpl_strtod): Add declarations. + * lib/strtod.c (strtod): Return -0.0 on negative underflow. Use + bool where appropriate. Parse 'inf' and 'nan'. + * tests/test-strtod.c: New file. + * modules/strtod (Depends-on): Add stdbool, stdlib. + (configure.ac): Turn on module indicator. + * modules/strtod-tests: New module. + +2008-03-29 Eric Blake + + Fix ftell on mingw. + * lib/ftell.c (EOVERFLOW): Define if the system lacks it. + * modules/ftell-tests (Depends-on): Add binary-io. + * modules/ftello-tests (Depends-on): Likewise. + * tests/test-ftell.c (main): Enhance test to cover behavior after + ungetc. Enforce binary mode. + * tests/test-ftello.c (main): Likewise. + + Pass test-freadseek on cygwin. + * 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 + + * tests/test-fflush2.c (main): Temporarily disable the contents of + this test. + * m4/fflush.m4 (gl_FUNC_FFLUSH): Add a TODO. + Reported by Eric Blake. + +2008-03-28 Simon Josefsson + + * lib/gc.h (enum Gc_hash): Add GC_SHA224. + (GC_SHA224_DIGEST_SIZE): Add. + + * lib/gc-libgcrypt.c (gc_hash_open): Handle SHA-224. + (gc_hash_digest_length): Likewise. + (gc_hash_buffer): Likewise. + +2008-03-25 Bruno Haible + + * doc/gnulib-tool.texi (gettextize and autopoint): Explain in more + detail which gettext release to use. + Reported by Simon Josefsson. + +2008-03-26 Jim Meyering + + gnumakefile: remove file from $(top_builddir), not from $(top_srcdir) + * modules/gnumakefile (clean-GNUmakefile): Also, use + test ... && ... || : syntax rather than if-then ... fi. + + gnumakefile: Don't double-quote-expand $(VPATH) value. + * modules/gnumakefile (clean-GNUmakefile): Use single quotes. + 2008-03-24 Eric Blake Alter GNUmakefile to install into top directory. @@ -31,7 +239,7 @@ * doc/gnulib-tool.texi (gettextize and autopoint): New section. 2008-03-23 Eric Blake - Bruno Haible + Bruno Haible Install files from top/ in the destination directory. * gnulib-tool (func_get_automake_snippet): Synthesize an EXTRA_DIST