doc: Mention new glibc headers and functions.
[gnulib.git] / ChangeLog
index 433609a..2294d7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,261 @@
+2012-02-28  Bruno Haible  <bruno@clisp.org>
+
+       doc: Mention new glibc headers and functions.
+       * doc/glibc-headers/uchar.texi: New file.
+       * doc/glibc-functions/aligned_alloc.texi: New file.
+       * doc/glibc-functions/c16rtomb.texi: New file.
+       * doc/glibc-functions/c32rtomb.texi: New file.
+       * doc/glibc-functions/clock_adjtime.texi: New file.
+       * doc/glibc-functions/fanotify_init.texi: New file.
+       * doc/glibc-functions/fanotify_mark.texi: New file.
+       * doc/glibc-functions/inet6_opt_append.texi: New file.
+       * doc/glibc-functions/inet6_opt_find.texi: New file.
+       * doc/glibc-functions/inet6_opt_finish.texi: New file.
+       * doc/glibc-functions/inet6_opt_get_val.texi: New file.
+       * doc/glibc-functions/inet6_opt_init.texi: New file.
+       * doc/glibc-functions/inet6_opt_next.texi: New file.
+       * doc/glibc-functions/inet6_opt_set_val.texi: New file.
+       * doc/glibc-functions/inet6_rth_add.texi: New file.
+       * doc/glibc-functions/inet6_rth_getaddr.texi: New file.
+       * doc/glibc-functions/inet6_rth_init.texi: New file.
+       * doc/glibc-functions/inet6_rth_reverse.texi: New file.
+       * doc/glibc-functions/inet6_rth_segments.texi: New file.
+       * doc/glibc-functions/inet6_rth_space.texi: New file.
+       * doc/glibc-functions/login.texi: New file.
+       * doc/glibc-functions/mbrtoc16.texi: New file.
+       * doc/glibc-functions/mbrtoc32.texi: New file.
+       * doc/glibc-functions/name_to_handle_at.texi: New file.
+       * doc/glibc-functions/ntp_gettimex.texi: New file.
+       * doc/glibc-functions/open_by_handle_at.texi: New file.
+       * doc/glibc-functions/prlimit.texi: New file.
+       * doc/glibc-functions/process_vm_readv.texi: New file.
+       * doc/glibc-functions/process_vm_writev.texi: New file.
+       * doc/glibc-functions/recvmmsg.texi: New file.
+       * doc/glibc-functions/scandirat.texi: New file.
+       * doc/glibc-functions/sendmmsg.texi: New file.
+       * doc/glibc-functions/setns.texi: New file.
+       * doc/glibc-functions/timespec_get.texi: New file.
+       * doc/gnulib.texi: Include them.
+       (Glibc sys/fanotify.h, Glibc sys/resource.h, Glibc uchar.h): New
+       sections.
+       Reported by Eric Blake.
+
+2012-02-28  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation errors with MSVC option -fp:strict.
+       * lib/floor.c: Use MSVC specific pragma fenv_access.
+       * lib/ceil.c: Likewise.
+       * lib/trunc.c: Likewise.
+       * lib/round.c: Likewise.
+       * lib/rint.c: Likewise.
+       * lib/fma.c: Likewise.
+       * lib/integer_length.c: Likewise.
+       * m4/round.m4 (gl_FUNC_ROUND): Likewise.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
+       * tests/test-floor2.c: Likewise.
+       * tests/test-floorf2.c: Likewise.
+       * tests/test-ceil2.c: Likewise.
+       * tests/test-ceilf2.c: Likewise.
+       * tests/test-trunc2.c: Likewise.
+       * tests/test-truncf2.c: Likewise.
+       Reported by Michael Goffioul <michael.goffioul@gmail.com>.
+
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'sqrtl-ieee'.
+       * modules/sqrtl-ieee-tests: New file.
+       * tests/test-sqrtl-ieee.c: New file.
+
+       New module 'sqrtl-ieee'.
+       * modules/sqrtl-ieee: New file.
+
+       Tests for module 'sqrt-ieee'.
+       * modules/sqrt-ieee-tests: New file.
+       * tests/test-sqrt-ieee.c: New file.
+
+       New module 'sqrt-ieee'.
+       * modules/sqrt-ieee: New file.
+
+       Tests for module 'sqrtf-ieee'.
+       * modules/sqrtf-ieee-tests: New file.
+       * tests/test-sqrtf-ieee.c: New file.
+       * tests/test-sqrt-ieee.h: New file.
+
+       New module 'sqrtf-ieee'.
+       * modules/sqrtf-ieee: New file.
+
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       remainderl-ieee: Work around test failure on OSF/1.
+       * m4/remainderl-ieee.m4: New file.
+       * m4/remainderl.m4 (gl_FUNC_REMAINDERL): If gl_FUNC_REMAINDERL_IEEE is
+       present, test whether remainderl works with a zero second argument.
+       Replace it if not.
+       * lib/math.in.h (remainderl): Override if REPLACE_REMAINDERL is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERL.
+       * modules/math (Makefile.am): Substitute REPLACE_REMAINDERL.
+       * modules/remainderl (configure.ac): Consider REPLACE_REMAINDERL.
+       (Depends-on): Update conditions.
+       * modules/remainderl-ieee (Files): Add m4/remainderl-ieee.m4.
+       (Depends-on): Add remainder-ieee.
+       (configure.ac): Invoke gl_FUNC_REMAINDERL_IEEE.
+       * doc/posix-functions/remainderl.texi: Mention the remainderl-ieee
+       module.
+
+       remainderf-ieee: Work around test failure on OSF/1.
+       * m4/remainderf-ieee.m4: New file.
+       * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is
+       present, test whether remainderf works with a zero second argument.
+       Replace it if not.
+       * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF.
+       * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF.
+       * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF.
+       (Depends-on): Update conditions.
+       * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4.
+       (Depends-on): Add remainder-ieee.
+       (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE.
+       * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee
+       module.
+
+       remainder-ieee: Work around test failure on OSF/1.
+       * m4/remainder-ieee.m4: New file.
+       * m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is
+       present, test whether remainder works with a zero second argument.
+       Replace it if not.
+       * lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER.
+       * modules/math (Makefile.am): Substitute REPLACE_REMAINDER.
+       * modules/remainder (configure.ac): Consider REPLACE_REMAINDER.
+       (Depends-on): Update dependencies.
+       * modules/remainder-ieee (Files): Add m4/remainder-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_REMAINDER_IEEE.
+       * doc/posix-functions/remainder.texi: Mention the remainder-ieee module.
+
+       Tests for module 'remainderl-ieee'.
+       * modules/remainderl-ieee-tests: New file.
+       * tests/test-remainderl-ieee.c: New file.
+
+       New module 'remainderl-ieee'.
+       * modules/remainderl-ieee: New file.
+
+       Tests for module 'remainder-ieee'.
+       * modules/remainder-ieee-tests: New file.
+       * tests/test-remainder-ieee.c: New file.
+
+       New module 'remainder-ieee'.
+       * modules/remainder-ieee: New file.
+
+       Tests for module 'remainderf-ieee'.
+       * modules/remainderf-ieee-tests: New file.
+       * tests/test-remainderf-ieee.c: New file.
+       * tests/test-remainder-ieee.h: New file.
+
+       New module 'remainderf-ieee'.
+       * modules/remainderf-ieee: New file.
+
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       modff, modfl: Fix configure syntax error.
+       * m4/modff.m4 (gl_FUNC_MODFF): Insert ':' command in 'if'.
+       * m4/modfl.m4 (gl_FUNC_MODFL): Likewise.
+
+2012-02-27  Bruno Haible  <bruno@clisp.org>
+
+       fmodl-ieee: Work around test failures on OSF/1, MSVC 9.
+       * m4/fmodl-ieee.m4: New file.
+       * m4/fmodl.m4 (gl_FUNC_FMODL): If gl_FUNC_FMODL_IEEE is present, test
+       whether fmodl works with zero arguments. Replace it if not.
+       * modules/fmodl-ieee (Files): Add m4/fmodl-ieee.m4.
+       (Depends-on): Add fmod-ieee.
+       (configure.ac): Invoke gl_FUNC_FMODL_IEEE.
+       * doc/posix-functions/fmodl.texi: Mention the fmodl-ieee module.
+
+       fmodf-ieee: Work around test failure on OSF/1.
+       * m4/fmodf-ieee.m4: New file.
+       * m4/fmodf.m4 (gl_FUNC_FMODF): If gl_FUNC_FMODF_IEEE is present, test
+       whether fmodf works with zero arguments. Replace it if not.
+       * lib/math.in.h (fmodf): Override if REPLACE_FMODF is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FMODF.
+       * modules/math (Makefile.am): Substitute REPLACE_FMODF.
+       * modules/fmodf (configure.ac): Consider REPLACE_FMODF.
+       (Depends-on): Update dependencies.
+       * modules/fmodf-ieee (Files): Add m4/fmodf-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_FMODF_IEEE.
+       * doc/posix-functions/fmodf.texi: Mention the problem on OSF/1.
+
+       fmodf-ieee: Work around test failure on MSVC 9.
+       * modules/fmodf-ieee (Depends-on): Add fmod-ieee.
+       * doc/posix-functions/fmodf.texi: Mention the fmodf-ieee module.
+
+       fmod-ieee: Work around test failures on OSF/1, mingw.
+       * m4/fmod-ieee.m4: New file.
+       * m4/fmod.m4 (gl_FUNC_FMOD): If gl_FUNC_FMOD_IEEE is present, test
+       whether fmod works with zero arguments. Replace it if not.
+       * lib/math.in.h (fmod): New declaration.
+       * lib/fmod.c: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether fmod is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMOD, REPLACE_FMOD.
+       * modules/math (Makefile.am): Substitute GNULIB_FMOD, REPLACE_FMOD.
+       * modules/fmod (Files): Add lib/fmod.c.
+       (Depends-on): Add math, isinf, trunc, fma.
+       (configure.ac): Arrange to compile lib/fmod.c if needed.
+       * modules/fmod-ieee (Files): Add m4/fmod-ieee.m4, m4/minus-zero.m4,
+       m4/signbit.m4.
+       (configure.ac): Invoke gl_FUNC_FMOD_IEEE.
+       * tests/test-math-c++.cc: Check the declaration of fmod.
+       * doc/posix-functions/fmod.texi: Mention the fmod-ieee module.
+
+       fmodl-ieee: Fix test failures.
+       * lib/fmodl.c (fmodl): Treat Inf specially.
+       * modules/fmodl (Depends-on): Add isinf.
+
+       Tests for module 'fmodl-ieee'.
+       * modules/fmodl-ieee-tests: New file.
+       * tests/test-fmodl-ieee.c: New file.
+
+       New module 'fmodl-ieee'.
+       * modules/fmodl-ieee: New file.
+
+       Tests for module 'fmod-ieee'.
+       * modules/fmod-ieee-tests: New file.
+       * tests/test-fmod-ieee.c: New file.
+
+       New module 'fmod-ieee'.
+       * modules/fmod-ieee: New file.
+
+       Tests for module 'fmodf-ieee'.
+       * modules/fmodf-ieee-tests: New file.
+       * tests/test-fmodf-ieee.c: New file.
+       * tests/test-fmod-ieee.h: New file.
+
+       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