termios: fix pid_t always, not just for tcgetsid
[gnulib.git] / ChangeLog
index 686f0a6..ddc7b54 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,252 @@
+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.
+       (configure.ac): Invoke gl_FUNC_HYPOT.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       hypot tests: More tests.
+       * tests/test-hypot.c: Include <float.h>.
+       (main): Add tests about overflow and underflow.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       math code: Add comments.
+       * lib/acosl.c: Add comment about related glibc source files.
+       * lib/asinl.c: Likewise.
+       * lib/atanl.c: Likewise.
+       * lib/expl.c: Likewise.
+       * lib/logl.c: Likewise.
+       * lib/sincosl.c: Likewise.
+       * lib/sinl.c: Likewise.
+       * lib/tanl.c: Likewise.
+       * lib/trigl.c: Likewise.
+       * lib/cosl.c: Likewise. Fix comments.
+
+2012-02-28  Bruno Haible  <bruno@clisp.org>
+
+       math: Ensure HUGE_VAL, HUGE_VALF, HUGE_VALL are defined.
+       * lib/math.in.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Define fallbacks.
+       * tests/test-math.c: Include macros.h. Check that HUGE_VAL, HUGE_VALF,
+       HUGE_VALL are defined.
+       (numeric_equald): Renamed from numeric_equal.
+       (numeric_equalf, numeric_equall): New functions.
+       (main): Check also HUGE_VALF, HUGE_VALL.
+       * modules/math-tests (Files): Add tests/macros.h.
+       * doc/posix-headers/math.texi: Document the problems with HUGE_VALF and
+       HUGE_VALL.
+
+2012-02-28  Bruno Haible  <bruno@clisp.org>
+
+       doc: Move ISO C11 feature notes into POSIX chapters.
+       * doc/posix-functions/aligned_alloc.texi: Renamed from
+       doc/glibc-functions/aligned_alloc.texi.
+       * doc/posix-functions/quick_exit.texi: Renamed from
+       doc/glibc-functions/quick_exit.texi.
+       * doc/posix-headers/uchar.texi: Renamed from
+       doc/glibc-headers/uchar.texi.
+       * doc/posix-functions/c16rtomb.texi: Renamed from
+       doc/glibc-functions/c16rtomb.texi.
+       * doc/posix-functions/c32rtomb.texi: Renamed from
+       doc/glibc-functions/c32rtomb.texi.
+       * doc/posix-functions/mbrtoc16.texi: Renamed from
+       doc/glibc-functions/mbrtoc16.texi.
+       * doc/posix-functions/mbrtoc32.texi: Renamed from
+       doc/glibc-functions/mbrtoc32.texi.
+       * doc/gnulib.texi: Update.
+       (Glibc uchar.h): Remove section.
+       Suggested by Eric Blake.
+
+2012-02-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdnoreturn: port to MSVC better
+       MSVC standard headers use __declspec(noreturn), so #define noreturn
+       to empty on that platform.  Reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-02/msg00152.html>.
+       * lib/stdnoreturn.in.h (noreturn): Define to empty on MSVC.
+       * doc/posix-headers/stdnoreturn.texi (stdnoreturn.h): Document this.
+
+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'.