maint.mk: avoid spurious failure of _sc_search_regexp-using tests
[gnulib.git] / ChangeLog
index 7a727f1..fc15144 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,341 @@
+2012-03-01  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: avoid spurious failure of _sc_search_regexp-using tests
+       * top/maint.mk: Initialize _sc_search_regexp parameters, so that
+       envvar settings cannot interfere.  Otherwise, setting envvars like
+       prohibit=foo require=bar, etc. would cause spurious test failures.
+
+2012-03-01  Eric Blake  <eblake@redhat.com>
+
+       maint.mk: add per-line exclusions to prohibitions
+       * maint.mk (_sc_search_regexp): Add $exclude parameter.
+       (sc_prohibit_strcmp, sc_unmarked_diagnostics)
+       (sc_const_long_option): Use it.
+
+2012-03-01  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'expl-ieee'.
+       * modules/expl-ieee-tests: New file.
+       * tests/test-expl-ieee.c: New file.
+
+       New module 'expl-ieee'.
+       * modules/expl-ieee: New file.
+
+       Tests for module 'exp-ieee'.
+       * modules/exp-ieee-tests: New file.
+       * tests/test-exp-ieee.c: New file.
+
+       New module 'exp-ieee'.
+       * modules/exp-ieee: New file.
+
+       Tests for module 'expf-ieee'.
+       * modules/expf-ieee-tests: New file.
+       * tests/test-expf-ieee.c: New file.
+       * tests/test-exp-ieee.h: New file.
+
+       New module 'expf-ieee'.
+       * modules/expf-ieee: New file.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       cbrtl-ieee: Work around test failure on IRIX 6.5.
+       * m4/cbrtl-ieee.m4: New file.
+       * m4/cbrtl.m4 (gl_FUNC_CBRTL): If gl_FUNC_CBRTL_IEEE is present,
+       test whether cbrtl works with a minus zero argument. Replace it if not.
+       * lib/math.in.h (cbrtl): Override if REPLACE_CBRTL is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_CBRTL.
+       * modules/math (Makefile.am): Substitute REPLACE_CBRTL.
+       * modules/cbrtl (configure.ac): Consider REPLACE_CBRTL.
+       (Depends-on): Update conditions.
+       * modules/cbrtl-ieee (Files): Add m4/cbrtl-ieee.m4, m4/minus-zero.m4,
+       m4/signbit.m4.
+       (configure.ac): Invoke gl_FUNC_CBRTL_IEEE.
+       * lib/cbrtl.c (cbrtl) [IRIX]: Avoid an unnecessary addition.
+       * doc/posix-functions/cbrtl.texi: Mention the cbrtl-ieee module.
+
+       Tests for module 'cbrtl-ieee'.
+       * modules/cbrtl-ieee-tests: New file.
+       * tests/test-cbrtl-ieee.c: New file.
+
+       New module 'cbrtl-ieee'.
+       * modules/cbrtl-ieee: New file.
+
+       Tests for module 'cbrt-ieee'.
+       * modules/cbrt-ieee-tests: New file.
+       * tests/test-cbrt-ieee.c: New file.
+
+       New module 'cbrt-ieee'.
+       * modules/cbrt-ieee: New file.
+
+       Tests for module 'cbrtf-ieee'.
+       * modules/cbrtf-ieee-tests: New file.
+       * tests/test-cbrtf-ieee.c: New file.
+       * tests/test-cbrt-ieee.h: New file.
+
+       New module 'cbrtf-ieee'.
+       * modules/cbrtf-ieee: New file.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       cbrtf: Work around bug in IRIX 6.5 system function.
+       * lib/math.in.h (cbrtf): Override if REPLACE_CBRTF is 1.
+       * m4/cbrtf.m4 (gl_FUNC_CBRTF_WORKS): New macro.
+       (gl_FUNC_CBRTF): Invoke it. Set REPLACE_CBRTF to 1 if cbrtf() does not
+       work.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_CBRTF.
+       * modules/math (Makefile.am): Substitute REPLACE_CBRTF.
+       * modules/cbrtf (configure.ac): Consider REPLACE_CBRTF.
+       (Depends-on): Update conditions.
+       * doc/posix-functions/cbrtf.texi: Mention the IRIX 6.5 problem.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'cbrtl'.
+       * modules/cbrtl-tests: New file.
+       * tests/test-cbrtl.c: New file.
+
+       New module 'cbrtl'.
+       * lib/math.in.h (cbrtl): New declaration.
+       * lib/cbrtl.c: New file.
+       * m4/cbrtl.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether cbrtl is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRTL, HAVE_CBRTL,
+       HAVE_DECL_CBRTL.
+       * modules/math (Makefile.am): Substitute GNULIB_CBRTL, HAVE_CBRTL,
+       HAVE_DECL_CBRTL.
+       * modules/cbrtl: New file.
+       * tests/test-math-c++.cc: Check the declaration of cbrtl.
+       * doc/posix-functions/cbrtl.texi: Mention the new module.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'cbrtf'.
+       * modules/cbrtf-tests: New file.
+       * tests/test-cbrtf.c: New file.
+
+       New module 'cbrtf'.
+       * lib/math.in.h (cbrtf): New declaration.
+       * lib/cbrtf.c: New file.
+       * m4/cbrtf.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether cbrtf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRTF, HAVE_CBRTF,
+       HAVE_DECL_CBRTF.
+       * modules/math (Makefile.am): Substitute GNULIB_CBRTF, HAVE_CBRTF,
+       HAVE_DECL_CBRTF.
+       * modules/cbrtf: New file.
+       * tests/test-math-c++.cc: Check the declaration of cbrtf.
+       * doc/posix-functions/cbrtf.texi: Mention the new module.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       cbrt: Provide replacement on MSVC and Minix.
+       * lib/math.in.h (cbrt): New declaration.
+       * lib/cbrt.c: New file.
+       * m4/cbrt.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether cbrt is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRT, HAVE_CBRT.
+       * modules/math (Makefile.am): Substitute GNULIB_CBRT, HAVE_CBRT.
+       * modules/cbrt (Files): Add lib/cbrt.c, m4/cbrt.m4.
+       (Depends-on): Add dependencies.
+       (configure.ac): Arrange to compile replacement if HAVE_CBRT is 0.
+       * tests/test-math-c++.cc: Check the declaration of cbrt.
+       * doc/posix-functions/cbrt.texi: Mention that the module provides a
+       replacement.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       hypotl-ieee: Work around test failure on OSF/1 and native Windows.
+       * m4/hypotl-ieee.m4: New file.
+       * m4/hypotl.m4 (gl_FUNC_HYPOTL): If gl_FUNC_HYPOTL_IEEE is present,
+       test whether hypotl works with mixed NaN and Infinity arguments.
+       Replace it if not.
+       * lib/math.in.h (hypotl): Override if REPLACE_HYPOTL is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_HYPOTL.
+       * modules/math (Makefile.am): Substitute REPLACE_HYPOTL.
+       * modules/hypotl (configure.ac): Consider REPLACE_HYPOTL.
+       (Depends-on): Update conditions.
+       * modules/hypotl-ieee (Files): Add m4/hypotl-ieee.m4.
+       (Depends-on): Add hypot-ieee.
+       (configure.ac): Invoke gl_FUNC_HYPOTL_IEEE.
+       * doc/posix-functions/hypotl.texi: Mention the hypotl-ieee module.
+
+       hypotf-ieee: Work around test failure on OSF/1 and native Windows.
+       * m4/hypotf-ieee.m4: New file.
+       * m4/hypotf.m4 (gl_FUNC_HYPOTF): If gl_FUNC_HYPOTF_IEEE is present,
+       test whether hypotf works with mixed NaN and Infinity arguments.
+       Replace it if not.
+       * modules/hypotf-ieee (Files): Add m4/hypotf-ieee.m4.
+       (Depends-on): Add hypot-ieee.
+       (configure.ac): Invoke gl_FUNC_HYPOTF_IEEE.
+       * doc/posix-functions/hypotf.texi: Mention the hypotf-ieee module.
+
+       hypot-ieee: Work around test failure on OSF/1 and native Windows.
+       * lib/math.in.h (hypot): New declaration.
+       * lib/hypot.c: New file.
+       * m4/hypot-ieee.m4: New file.
+       * m4/hypot.m4 (gl_FUNC_HYPOT): If gl_FUNC_HYPOT_IEEE is present, test
+       whether hypot works with mixed NaN and Infinity arguments. Replace it
+       if not.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOT,
+       REPLACE_HYPOT.
+       * modules/math (Makefile.am): Substitute GNULIB_HYPOT, REPLACE_HYPOT.
+       * modules/hypot (Files): Add lib/hypot.c.
+       (Depends-on): Add dependencies.
+       (configure.ac): Arrange to compile replacement if REPLACE_HYPOT is 1.
+       * modules/hypot-ieee (Files): Add m4/hypot-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_HYPOT_IEEE.
+       * tests/test-math-c++.cc: Check the declaration of hypot.
+       * doc/posix-functions/hypot.texi: Mention the hypot-ieee module.
+
+       Tests for module 'hypotl-ieee'.
+       * modules/hypotl-ieee-tests: New file.
+       * tests/test-hypotl-ieee.c: New file.
+
+       New module 'hypotl-ieee'.
+       * modules/hypotl-ieee: New file.
+
+       Tests for module 'hypot-ieee'.
+       * modules/hypot-ieee-tests: New file.
+       * tests/test-hypot-ieee.c: New file.
+
+       New module 'hypot-ieee'.
+       * modules/hypot-ieee: New file.
+
+       Tests for module 'hypotf-ieee'.
+       * modules/hypotf-ieee-tests: New file.
+       * tests/test-hypotf-ieee.c: New file.
+       * tests/test-hypot-ieee.h: New file.
+
+       New module 'hypotf-ieee'.
+       * modules/hypotf-ieee: New file.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Remove unused variables.
+       * m4/fmod.m4 (gl_FUNC_FMOD): Remove unused variable 'i'.
+       * m4/fmodl.m4 (gl_FUNC_FMODL): Likewise.
+       * m4/remainder.m4 (gl_FUNC_REMAINDER): Likewise.
+       * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Likewise.
+
+2012-02-29  Eric Blake  <eblake@redhat.com>
+
+       termios: fix pid_t always, not just for tcgetsid
+       * doc/posix-headers/termios.texi (termios.h): Mention problem.
+       * lib/termios.in.h (include): Ensure pid_t on all platforms, not
+       just when building tcgetsid.
+
 2012-02-29  Bruno Haible  <bruno@clisp.org>
 
+       Tests for module 'hypotl'.
+       * modules/hypotl-tests: New file.
+       * tests/test-hypotl.c: New file.
+
+       New module 'hypotl'.
+       * lib/math.in.h (hypotl): New declaration.
+       * lib/hypotl.c: New file.
+       * m4/hypotl.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether hypotf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOTL, HAVE_HYPOTL.
+       * modules/math (Makefile.am): Substitute GNULIB_HYPOTL, HAVE_HYPOTL.
+       * modules/hypotl: New file.
+       * tests/test-math-c++.cc: Check the hypotl declaration.
+       * doc/posix-functions/hypotl.texi: Mention the new module.
+
+2012-02-29  Eric Blake  <eblake@redhat.com>
+
+       tcgetsid: fix cygwin header bug
+       * lib/termios.in.h (includes) [Cygwin]: Ensure pid_t is defined.
+
+       docs: update cygwin progress
+       * doc/posix-functions/llround.texi (llround): Added in cygwin
+       1.7.8.
+       * doc/posix-functions/llroundf.texi (llroundf): Likewise.
+       * doc/glibc-functions/program_invocation_name.texi
+       (program_invocation_name): Likewise.
+       * doc/glibc-functions/program_invocation_short_name.texi
+       (program_invocation_short_name): Likewise.
+       * doc/glibc-functions/madvise.texi (madvise): Likewise.
+       * doc/glibc-functions/pthread_yield.texi (pthread_yield):
+       Likewise.
+       * doc/posix-functions/pthread_spin_destroy.texi
+       (pthread_spin_destroy): Added in cygwin 1.7.10.
+       * doc/posix-functions/pthread_spin_init.texi (pthread_spin_init):
+       Likewise.
+       * doc/posix-functions/pthread_spin_lock.texi (pthread_spin_lock):
+       Likewise.
+       * doc/posix-functions/pthread_spin_trylock.texi
+       (pthread_spin_trylock): Likewise.
+       * doc/posix-functions/pthread_spin_unlock.texi
+       (pthread_spin_unlock): Likewise.
+       * doc/posix-functions/pthread_setschedprio.texi
+       (pthread_setschedprio): Likewise.
+       * doc/posix-functions/pthread_attr_getstack.texi
+       (pthread_attr_getstack): Likewise.
+       * doc/pastposix-functions/pthread_attr_getstackaddr.texi
+       (pthread_attr_getstackaddr): Likewise.
+       * doc/glibc-functions/pthread_getattr_np.texi
+       (pthread_getattr_np): Likewise.
+       * doc/glibc-functions/sys_siglist.texi (sys_siglist): Likewise.
+       * doc/glibc-functions/sysinfo.texi (sysinfo): Likewise.
+       * doc/posix-functions/clock_settime.texi (clock_settime):
+       Likewise.
+       * doc/posix-functions/pthread_attr_getguardsize.texi
+       (pthread_attr_getguardsize): Likewise.
+       * doc/posix-functions/pthread_attr_setguardsize.texi
+       (pthread_attr_setguardsize): Likewise.
+       * doc/posix-functions/pthread_attr_setstack.texi
+       (pthread_attr_setstack): Likewise.
+       * doc/pastposix-functions/pthread_attr_setstackaddr.texi
+       (pthread_attr_setstackaddr): Likewise.
+       * doc/posix-functions/clock_getcpuclockid.texi
+       (clock_getcpuclockid): Likewise.
+       * doc/posix-functions/pthread_getcpuclockid.texi
+       (pthread_getcpuclockid): Likewise.
+       * doc/glibc-functions/error.texi (error): Likewise.
+       * doc/glibc-functions/error_at_line.texi (error_at_line):
+       Likewise.
+       * doc/glibc-functions/error_message_count.texi
+       (error_message_count): Likewise.
+       * doc/glibc-functions/error_one_per_line.texi
+       (error_one_per_line): Likewise.
+       * doc/glibc-functions/error_print_progname.texi
+       (error_print_progname): Likewise.
+       * doc/posix-functions/pthread_condattr_getclock.texi
+       (pthread_condattr_getclock): Likewise.
+       * doc/posix-functions/pthread_condattr_setclock.texi
+       (pthread_condattr_setclock): Likewise.
+       * doc/posix-functions/clock_nanosleep.texi (clock_nanosleep):
+       Likewise.
+       * doc/glibc-functions/getgrouplist.texi (getgrouplist): Likewise.
+       * doc/glibc-functions/getpt.texi (getpt): Likewise.
+       * doc/glibc-functions/get_current_dir_name.texi
+       (get_current_dir_name): Likewise.
+       * doc/glibc-functions/pthread_sigqueue.texi (pthread_sigqueue):
+       Likewise.
+       * doc/posix-functions/tcgetsid.texi (tcgetsid): Likewise, but with
+       wrong return type.
+       * doc/glibc-functions/scandirat.texi (scandirat): Added in cygwin
+       1.7.11.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'hypotf'.
+       * modules/hypotf-tests: New file.
+       * tests/test-hypotf.c: New file.
+
+       New module 'hypotf'.
+       * lib/math.in.h (hypotf): New declaration.
+       * lib/hypotf.c: New file.
+       * m4/hypotf.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether hypotf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOTF, HAVE_HYPOTF,
+       REPLACE_HYPOTF.
+       * modules/math (Makefile.am): Substitute GNULIB_HYPOTF, HAVE_HYPOTF,
+       REPLACE_HYPOTF.
+       * modules/hypotf: New file.
+       * tests/test-math-c++.cc: Check the hypotf declaration.
+       * doc/posix-functions/hypotf.texi: Mention the new module.
+
        hypot: Prepare for hypotf module.
        * m4/hypot.m4: New file.
        * modules/hypot (Files): Add m4/hypot.m4.