frexp-nolibm, frexpl-nolibm tests: Fix bug introduced on 2012-03-03.
[gnulib.git] / ChangeLog
index ce4f056..a2bb84e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,169 @@
+2012-03-07  Jim Meyering  <meyering@redhat.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       frexp-nolibm, frexpl-nolibm tests: Fix bug introduced on 2012-03-03.
+       * modules/frexp-nolibm-tests (Files): Add tests/test-frexp.h,
+       tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_frexp_nolibm_SOURCES.
+       * modules/frexpl-nolibm-tests (Files): Add tests/test-frexp.h,
+       tests/randoml.c.
+       (Makefile.am): Add randoml.c to test_frexpl_nolibm_SOURCES.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       expm1l: Avoid compilation error on AIX.
+       * lib/math.in.h (expm1l): Undefine macro before declaration. Needed on
+       AIX 5.2..7.1.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       expm1l: Don't override undeclared system function on IRIX 6.5.
+       * lib/math.in.h (expm1l): Test HAVE_DECL_EXPM1L, not HAVE_EXPM1L.
+       * m4/expm1l.m4 (gl_FUNC_EXPM1L): Don't assume expm1l() is declared when
+       it exists. Set HAVE_DECL_EXPM1L.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_EXPM1L, not
+       HAVE_EXPM1L.
+       * modules/math (Makefile.am): Substitute HAVE_DECL_EXPM1L, not
+       HAVE_EXPM1L.
+       * doc/posix-functions/expm1l.texi: Mention missing declaration problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       remainderl: Don't override undeclared system function on IRIX 6.5.
+       * lib/math.in.h (remainderl): Test HAVE_DECL_REMAINDERL, not
+       HAVE_REMAINDERL.
+       * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Don't assume remainderl() is
+       declared when it exists. Set HAVE_DECL_REMAINDERL.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_REMAINDERL,
+       not HAVE_REMAINDERL.
+       * modules/math (Makefile.am): Substitute HAVE_DECL_REMAINDERL, not
+       HAVE_REMAINDERL.
+       * doc/posix-functions/remainderl.texi: Mention missing declaration
+       problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       rintf: Don't override undeclared system function on IRIX 6.5.
+       * lib/math.in.h (rintf): Test HAVE_DECL_RINTF, not HAVE_RINTF.
+       * m4/rintf.m4 (gl_FUNC_RINTF): Don't assume rintf() is declared when it
+       exists. Set HAVE_DECL_RINTF.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_RINTF, not
+       HAVE_RINTF.
+       * modules/math (Makefile.am): Substitute HAVE_DECL_RINTF, not
+       HAVE_RINTF.
+       * doc/posix-functions/rintf.texi: Mention missing declaration problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       roundl: Avoid compilation error on AIX.
+       * lib/math.in.h (roundl): Undefine macro before declaration. Needed on
+       AIX 5.2..7.1.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       roundl: Don't override undeclared system function on IRIX 6.5.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Search for roundl() in the libraries
+       also when it is not declared. Set HAVE_ROUNDL. For replacement code,
+       test HAVE_ROUNDL, not HAVE_DECL_ROUNDL.
+       * modules/roundl (configure.ac): For replacement code, test
+       HAVE_ROUNDL, not HAVE_DECL_ROUNDL.
+       (Depends-on): Update conditions.
+       * doc/posix-functions/roundl.texi: Mention the IRIX problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       roundf: Don't override undeclared system function on IRIX 6.5.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Search for roundf() in the libraries
+       also when it is not declared. Set HAVE_ROUNDF. For replacement code,
+       test HAVE_ROUNDF, not HAVE_DECL_ROUNDF.
+       * modules/roundf (configure.ac): For replacement code, test
+       HAVE_ROUNDF, not HAVE_DECL_ROUNDF.
+       (Depends-on): Update conditions.
+       * modules/roundf-ieee (Depends-on): Update conditions.
+       * doc/posix-functions/roundf.texi: Mention the IRIX problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       round: Don't override undeclared system function on IRIX 6.5.
+       * m4/check-math-lib.m4 (gl_CHECK_MATH_LIB): Accept an optional third
+       argument.
+       * m4/round.m4 (gl_FUNC_ROUND): Search for round() in the libraries
+       also when it is not declared. Set HAVE_ROUND. For replacement code,
+       test HAVE_ROUND, not HAVE_DECL_ROUND.
+       * modules/round (configure.ac): For replacement code, test HAVE_ROUND,
+       not HAVE_DECL_ROUND.
+       (Depends-on): Update conditions.
+       * modules/round-ieee (Depends-on): Update conditions.
+       * doc/posix-functions/round.texi: Mention the IRIX problem.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       copysignf: Don't override undeclared system function on IRIX 6.5.
+       * lib/math.in.h (copysignf): Test HAVE_DECL_COPYSIGNF, not
+       HAVE_COPYSIGNF.
+       * m4/copysignf.m4 (gl_FUNC_COPYSIGNF): Don't assume copysignf() is
+       declared when it exists. Set HAVE_DECL_COPYSIGNF.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_COPYSIGNF,
+       not HAVE_COPYSIGNF.
+       * modules/math (Makefile.am): Substitute HAVE_DECL_COPYSIGNF, not
+       HAVE_COPYSIGNF.
+       * doc/posix-functions/copysignf.texi: Mention missing declaration
+       problem.
+
+2012-03-07  Jim Meyering  <meyering@redhat.com>
+
+       readtokens: add tests
+       * modules/readtokens-tests: New file.
+       * tests/test-readtokens.c: New file.
+
+2012-03-07  Jim Meyering  <meyering@redhat.com>
+
+       quotearg: the module must now include quote.h
+       With commit v0.0-7133-g6417476, quotearg.c includes "quote.h".
+       So must the module.
+       * modules/quotearg (Files): Add quote.h.
+
+2012-03-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       readtokens: avoid core dumps with unusual calling patterns
+       Reported by Xu Zhongxing in <http://debbugs.gnu.org/10953>.
+       * lib/readtokens.c: Include limits.h.
+       (word, bits_per_word, get_nth_bit, set_nth_bit): New.
+       (readtoken): Don't cache the delimiters; the cache code was buggy
+       if !delim && saved_delim, or if the new n_delim differs from the old.
+       Also, it wasn't thread-safe.
+
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       quote: Adhere to common module description layout.
+       * modules/quote (Makefile.am): Add back empty section.
+
+2012-03-06  Akim Demaille  <demaille@gostai.com>
+
+       quote: fuse into quotearg
+       This patch is made for the benefit of Bison.
+       quote does not leave the choice of the quoting style to the user.
+       quoting_style provides poor customizability, yet quoting_options,
+       which is very rich, is hidden inside quotearg.c.  So in order to
+       allow quote customization, move its implementation to quotearg.c.
+       * lib/quote.c: Remove.
+       * modules/quote: Adjust.
+       * lib/quotearg.c (quoting_options_from_style): Fix a compiler
+       warning: provide all the members of literal structs.
+       (quote_quoting_options): New.
+       (quote, quote_n): Import implementation from quote.c.
+       * lib/quote.h: Import the comments from quote.c.
+       (quote_quoting_options): New.
+
 2012-03-06  Bruno Haible  <bruno@clisp.org>
 
+       Tests for module 'expm1l-ieee'.
+       * modules/expm1l-ieee-tests: New file.
+       * tests/test-expm1l-ieee.c: New file.
+
+       New module 'expm1l-ieee'.
+       * modules/expm1l-ieee: New file.
+
        Tests for module 'expm1f-ieee'.
        * modules/expm1f-ieee-tests: New file.
        * tests/test-expm1f-ieee.c: New file.