New module 'fmodf-ieee'.
[gnulib.git] / ChangeLog
index 764a1a0..b47d704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,62 @@
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       New module 'fmodf-ieee'.
+       * modules/fmodf-ieee: New file.
+
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'rintl-ieee'.
+       * modules/rintl-ieee-tests: New file.
+       * tests/test-rintl-ieee.c: New file.
+
+       New module 'rintl-ieee'.
+       * modules/rintl-ieee: New file.
+
+       Tests for module 'rint-ieee'.
+       * modules/rint-ieee-tests: New file.
+       * tests/test-rint-ieee.c: New file.
+
+       New module 'rint-ieee'.
+       * modules/rint-ieee: New file.
+
+       Tests for module 'rintf-ieee'.
+       * modules/rintf-ieee-tests: New file.
+       * tests/test-rintf-ieee.c: New file.
+       * tests/test-rint-ieee.h: New file.
+
+       New module 'rintf-ieee'.
+       * modules/rintf-ieee: New file.
+
+2012-02-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       regex: re_search etc. should return -2 when memory exhausted
+       This bug was uncovered when testing 'grep'.  Without the fix,
+       re_search and friends return -1 when memory is exhausted, but -1
+       means no match, and this causes grep to falsely report no-match
+       instead of memory-exhaustion.  See
+       <http://sources.redhat.com/bugzilla/show_bug.cgi?id=13762>.
+       * lib/regexec.c (re_search_stub): Return -2 (not -1) if there is
+       trouble; this can occur if re_search_internal ran out of memory.
+
 2012-02-26  Bruno Haible  <bruno@clisp.org>
 
+       modfl-ieee: Work around test failures on IRIX, OSF/1, mingw.
+       * m4/modfl-ieee.m4: New file.
+       * m4/modfl.m4 (gl_FUNC_MODFL): If gl_FUNC_MODFL_IEEE is present, test
+       whether modfl works with Inf. Replace it if not.
+       * lib/math.in.h (modfl): Override if REPLACE_MODFF is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_MODFL.
+       * modules/math (Makefile.am): Substitute REPLACE_MODFL.
+       * modules/modfl (configure.ac): Consider REPLACE_MODFL.
+       (Depends-on): Update dependencies.
+       * modules/modfl-ieee (Files): Add m4/modfl-ieee.m4, m4/minus-zero.m4,
+       m4/signbit.m4.
+       (configure.ac): Invoke gl_FUNC_MODFL_IEEE.
+       * doc/posix-functions/modfl.texi: Mention the modfl-ieee module.
+
+       modfl-ieee: Fix dependencies.
+       * modules/modfl-ieee (Depends-on): Add modf-ieee.
+
        modfl-ieee: Fix test failures.
        * lib/modfl.c (modfl): Treat NaN and Inf specially.
        * modules/modfl (Depends-on): Add isfinite, isinf.