X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=d167976e36e493f87f35f32ef925ebd2cff58d85;hb=58d8afd0545d6321272bb7fb243db3295c5fdeec;hp=b0b03aef81e0a23aa4c46653dc05abfde2ff70c6;hpb=9ec3fe85ad7eebd96024997ae8b2429a4c9d0f1d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index b0b03aef8..fb78b42d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1359 @@ +2012-02-29 Bruno Haible + + 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 + + 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 + + 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 + + hypot tests: More tests. + * tests/test-hypot.c: Include . + (main): Add tests about overflow and underflow. + +2012-02-29 Bruno Haible + + 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 + + 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 + + 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 + + stdnoreturn: port to MSVC better + MSVC standard headers use __declspec(noreturn), so #define noreturn + to empty on that platform. Reported by Bruno Haible in + . + * lib/stdnoreturn.in.h (noreturn): Define to empty on MSVC. + * doc/posix-headers/stdnoreturn.texi (stdnoreturn.h): Document this. + +2012-02-28 Bruno Haible + + 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 + + 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 . + +2012-02-27 Bruno Haible + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + . + * 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 + + 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. + + modff-ieee: Work around test failures on *BSD, IRIX, OSF/1, etc. + * m4/modff-ieee.m4: New file. + * m4/modff.m4 (gl_FUNC_MODFF): If gl_FUNC_MODFF_IEEE is present, test + whether modff works with NaN and Inf. Replace it if not. + * lib/math.in.h (modff): Override if REPLACE_MODFF is 1. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_MODFF. + * modules/math (Makefile.am): Substitute REPLACE_MODFF. + * modules/modff (configure.ac): Consider REPLACE_MODFF. + (Depends-on): Update dependencies. + * modules/modff-ieee (Files): Add m4/modff-ieee.m4, m4/minus-zero.m4, + m4/signbit.m4. + (Depends-on): Add modf-ieee. + (configure.ac): Invoke gl_FUNC_MODFF_IEEE. + * doc/posix-functions/modff.texi: Mention the modff-ieee module. + + modf-ieee: Work around test failures on *BSD, IRIX, OSF/1, Cygwin. + * m4/modf-ieee.m4: New file. + * m4/modf.m4 (gl_FUNC_MODF): If gl_FUNC_MODF_IEEE is present, test + whether modf works with NaN and Inf. Replace it if not. + * lib/math.in.h (modf): New declaration. + * lib/modf.c: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether modf is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_MODF, REPLACE_MODF. + * modules/math (Makefile.am): Substitute GNULIB_MODF, REPLACE_MODF. + * modules/modf (Files): Add lib/modf.c. + (Depends-on): Add math, isfinite, trunc, isinf. + (configure.ac): Addrange to compile lib/modf.c if needed. + * modules/modf-ieee (Files): Add m4/modf-ieee.m4, m4/minus-zero.m4, + m4/signbit.m4. + (configure.ac): Invoke gl_FUNC_MODF_IEEE. + * tests/test-math-c++.cc: Check the declaration of modf. + * doc/posix-functions/modf.texi: Mention the modf-ieee module. + + Tests for module 'modfl-ieee'. + * modules/modfl-ieee-tests: New file. + * tests/test-modfl-ieee.c: New file. + + New module 'modfl-ieee'. + * modules/modfl-ieee: New file. + + Tests for module 'modf-ieee'. + * modules/modf-ieee-tests: New file. + * tests/test-modf-ieee.c: New file. + + New module 'modf-ieee'. + * modules/modf-ieee: New file. + + Tests for module 'modff-ieee'. + * modules/modff-ieee-tests: New file. + * tests/test-modff-ieee.c: New file. + * tests/test-modf-ieee.h: New file. + + New module 'modff-ieee'. + * modules/modff-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'fabsl-ieee'. + * modules/fabsl-ieee-tests: New file. + * tests/test-fabsl-ieee.c: New file. + + New module 'fabsl-ieee'. + * modules/fabsl-ieee: New file. + + Tests for module 'fabs-ieee'. + * modules/fabs-ieee-tests: New file. + * tests/test-fabs-ieee.c: New file. + + New module 'fabs-ieee'. + * modules/fabs-ieee: New file. + + Tests for module 'fabsf-ieee'. + * modules/fabsf-ieee-tests: New file. + * tests/test-fabsf-ieee.c: New file. + * tests/test-fabs-ieee.h: New file. + + New module 'fabsf-ieee'. + * modules/fabsf-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'fmal-ieee'. + * modules/fmal-ieee-tests: New file. + * tests/test-fmal-ieee.c: New file. + + New module 'fmal-ieee'. + * modules/fmal-ieee: New file. + + Tests for module 'fma-ieee'. + * modules/fma-ieee-tests: New file. + * tests/test-fma-ieee.c: New file. + + New module 'fma-ieee'. + * modules/fma-ieee: New file. + + Tests for module 'fmaf-ieee'. + * modules/fmaf-ieee-tests: New file. + * tests/test-fmaf-ieee.c: New file. + * tests/test-fma-ieee.h: New file. + + New module 'fmaf-ieee'. + * modules/fmaf-ieee: New file. + +2012-02-26 Bruno Haible + + Tests for module 'ldexpl-ieee'. + * modules/ldexpl-ieee-tests: New file. + * tests/test-ldexpl-ieee.c: New file. + + New module 'ldexpl-ieee'. + * modules/ldexpl-ieee: New file. + + Tests for module 'ldexp-ieee'. + * modules/ldexp-ieee-tests: New file. + * tests/test-ldexp-ieee.c: New file. + + New module 'ldexp-ieee'. + * modules/ldexp-ieee: New file. + + Tests for module 'ldexpf-ieee'. + * modules/ldexpf-ieee-tests: New file. + * tests/test-ldexpf-ieee.c: New file. + * tests/test-ldexp-ieee.h: New file. + + New module 'ldexpf-ieee'. + * modules/ldexpf-ieee: New file. + +2012-02-26 Bruno Haible + + Refactor frexp*-ieee tests. + * tests/test-frexp-ieee.h: New file. + * tests/test-frexpf-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * tests/test-frexp-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * tests/test-frexpl-ieee.c: Include test-frexp-ieee.h. + (main): Just call test_function. + * modules/frexpf-ieee-tests (Files): Add tests/test-frexp-ieee.h. + * modules/frexp-ieee-tests (Files): Likewise. + * modules/frexpl-ieee-tests (Files): Likewise. + + Tests for module 'frexpl-ieee'. + * modules/frexpl-ieee-tests: New file. + * tests/test-frexpl-ieee.c: New file. + + New module 'frexpl-ieee'. + * modules/frexpl-ieee: New file. + + Tests for module 'frexp-ieee'. + * modules/frexp-ieee-tests: New file. + * tests/test-frexp-ieee.c: New file. + + New module 'frexp-ieee'. + * modules/frexp-ieee: New file. + + Tests for module 'frexpf-ieee'. + * modules/frexpf-ieee-tests: New file. + * tests/test-frexpf-ieee.c: New file. + + New module 'frexpf-ieee'. + * modules/frexpf-ieee: New file. + +2012-02-26 Bruno Haible + + roundl-ieee tests: More tests. + * tests/test-roundl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/roundl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + round-ieee tests: More tests. + * tests/test-round-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/round-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + roundf-ieee tests: More tests. + * tests/test-roundf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/roundf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + truncl-ieee tests: More tests. + * tests/test-truncl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/truncl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + trunc-ieee tests: More tests. + * tests/test-trunc-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/trunc-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + truncf-ieee tests: More tests. + * tests/test-truncf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/truncf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + ceill-ieee tests: More tests. + * tests/test-ceill-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceill-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + ceil-ieee tests: More tests. + * tests/test-ceil-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceil-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + ceilf-ieee tests: More tests. + * tests/test-ceilf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/ceilf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + + floorl-ieee tests: More tests. + * tests/test-floorl-ieee.c: Include isnanl-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floorl-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanl-nolibm. + + floor-ieee tests: More tests. + * tests/test-floor-ieee.c: Include isnand-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floor-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnand-nolibm. + + floorf-ieee tests: More tests. + * tests/test-floorf-ieee.c: Include isnanf-nolibm.h, infinity.h, nan.h. + (main): Add tests for [MX] shaded specification in POSIX. + * modules/floorf-ieee-tests (Files): Add tests/infinity.h, tests/nan.h. + (Depends-on): Add isnanf-nolibm. + +2012-02-26 Bruno Haible + + fpieee: More comments. + * m4/fpieee.m4 (gl_FP_IEEE): Add more comments. + +2012-02-25 Bruno Haible + + Tests for module 'log10l'. + * modules/log10l-tests: New file. + * tests/test-log10l.c: New file. + * tests/test-math-c++.cc: Check the declaration of log10l. + + New module 'log10l'. + * lib/math.in.h (log10l): New declaration. + * lib/log10l.c: New file. + * m4/log10l.m4: New file. + * modules/log10l: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether log10l is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG10L, HAVE_LOG10L, + HAVE_DECL_LOG10L. + * modules/math (Makefile.am): Substitute GNULIB_LOG10L, HAVE_LOG10L, + HAVE_DECL_LOG10L. + * doc/posix-functions/log10l.texi: Mention the new module. + +2012-02-25 Bruno Haible + + fmodl, remainder*: Avoid wrong results due to rounding errors. + * lib/fmodl.c (fmodl): Correct the result if it is not within the + expected bounds. + * lib/remainderf.c (remainderf): Likewise. + * lib/remainder.c (remainder): Likewise. + * lib/remainderl.c (remainderl): Likewise. + +2012-02-25 Bruno Haible + + Tests for module 'remainderl'. + * modules/remainderl-tests: New file. + * tests/test-remainderl.c: New file. + * tests/test-math-c++.cc: Check the declaration of remainderl. + + New module 'remainderl'. + * lib/math.in.h (remainderl): New declaration. + * lib/remainderl.c: New file. + * m4/remainderl.m4: New file. + * modules/remainderl: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether remainderl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDERL, HAVE_REMAINDERL. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDERL, + HAVE_REMAINDERL. + * doc/posix-functions/remainderl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'remainderf'. + * modules/remainderf-tests: New file. + * tests/test-remainderf.c: New file. + * tests/test-math-c++.cc: Check the declaration of remainderf. + + New module 'remainderf'. + * lib/math.in.h (remainderf): New declaration. + * lib/remainderf.c: New file. + * m4/remainderf.m4: New file. + * modules/remainderf: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether remainderf is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDERF, HAVE_REMAINDERF. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDERF, + HAVE_REMAINDERF. + * doc/posix-functions/remainderf.texi: Mention the new module. + +2012-02-25 Bruno Haible + + remainder: Support for MSVC. + * lib/math.in.h (remainder): New declaration. + * lib/remainder.c: New file. + * m4/remainder.m4: New file. + * modules/remainder (Files): Add lib/remainder.c, m4/remainder.m4. + (Depends-on): Add math, round, fma. + (configure.ac): Use results of gl_FUNC_REMAINDER. + * m4/math_h.m4 (gl_MATH_H): Test whether remainder is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDER, HAVE_REMAINDER, + HAVE_DECL_REMAINDER. + * modules/math (Makefile.am): Substitute GNULIB_REMAINDER, + HAVE_REMAINDER, HAVE_DECL_REMAINDER. + * tests/test-math-c++.cc: Check the declaration of remainder. + * doc/posix-functions/remainder.texi: Mention that the MSVC and IRIX 5 + problems are fixed. + +2012-02-25 Bruno Haible + + Tests for module 'fmodl'. + * modules/fmodl-tests: New file. + * tests/test-fmodl.c: New file. + * tests/test-math-c++.cc: Check the declaration of fmodl. + + New module 'fmodl'. + * lib/math.in.h (fmodl): New declaration. + * lib/fmodl.c: New file. + * m4/fmodl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether fmodl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMODL, HAVE_FMODL, + REPLACE_FMODL. + * modules/math (Makefile.am): Substitute GNULIB_FMODL, HAVE_FMODL, + REPLACE_FMODL. + * modules/fmodl: New file. + * doc/posix-functions/fmodl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'modfl'. + * modules/modfl-tests: New file. + * tests/test-modfl.c: New file. + * tests/test-math-c++.cc: Check the declaration of modfl. + + New module 'modfl'. + * lib/math.in.h (modfl): New declaration. + * lib/modfl.c: New file. + * m4/modfl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether modfl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_MODFL, HAVE_MODFL. + * modules/math (Makefile.am): Substitute GNULIB_MODFL, HAVE_MODFL. + * modules/modfl: New file. + * doc/posix-functions/modfl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + Tests for module 'fabsl'. + * modules/fabsl-tests: New file. + * tests/test-fabsl.c: New file. + * tests/test-math-c++.cc: Check the declaration of fabsl. + + New module 'fabsl'. + * lib/math.in.h (fabsl): New declaration. + * lib/fabsl.c: New file. + * m4/fabsl.m4: New file. + * m4/math_h.m4 (gl_MATH_H): Test whether fabsl is declared. + (gl_MATH_H_DEFAULTS): Initialize GNULIB_FABSL, HAVE_FABSL, + REPLACE_FABSL. + * modules/math (Makefile.am): Substitute GNULIB_FABSL, HAVE_FABSL, + REPLACE_FABSL. + * modules/fabsl: New file. + * doc/posix-functions/fabsl.texi: Mention the new module. + +2012-02-25 Bruno Haible + + fabs tests: More tests. + * tests/test-fabs.c: Include , minus-zero.h. + (zero): New variable. + (main): Add tests for signed zero. + * modules/fabs-tests (Files): Add tests/minus-zero.h. + + fabsf tests: More tests. + * tests/test-fabsf.c: Include , minus-zero.h. + (zero): New variable. + (main): Add tests for signed zero. + * modules/fabsf-tests (Files): Add tests/minus-zero.h. + +2012-02-24 Bruno Haible + + atanl: Provide function definition on MSVC. + * m4/atanl.m4 (gl_FUNC_ATANL): Test also whether atanl can be used as a + function pointer. + * lib/math.in.h (atanl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + acosl: Provide function definition on MSVC. + * m4/acosl.m4 (gl_FUNC_ACOSL): Test also whether acosl can be used as a + function pointer. + * lib/math.in.h (acosl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + asinl: Provide function definition on MSVC. + * m4/asinl.m4 (gl_FUNC_ASINL): Test also whether asinl can be used as a + function pointer. + * lib/math.in.h (asinl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + tanl: Provide function definition on MSVC. + * m4/tanl.m4 (gl_FUNC_TANL): Test also whether tanl can be used as a + function pointer. + * lib/math.in.h (tanl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + cosl: Provide function definition on MSVC. + * m4/cosl.m4 (gl_FUNC_COSL): Test also whether cosl can be used as a + function pointer. + * lib/math.in.h (cosl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + sinl: Provide function definition on MSVC. + * m4/sinl.m4 (gl_FUNC_SINL): Test also whether sinl can be used as a + function pointer. + * lib/math.in.h (sinl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + logl: Provide function definition on MSVC. + * m4/logl.m4 (gl_FUNC_LOGL): Test also whether logl can be used as a + function pointer. + * lib/math.in.h (logl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + expl: Provide function definition on MSVC. + * m4/expl.m4 (gl_FUNC_EXPL): Test also whether expl can be used as a + function pointer. + * lib/math.in.h (expl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + sqrtl: Provide function definition on MSVC. + * m4/sqrtl.m4 (gl_FUNC_SQRTL): Test also whether sqrtl can be used as + a function pointer. + * lib/math.in.h (sqrtl): Undefine if it does not exist as a function. + +2012-02-24 Bruno Haible + + ceill: Provide function definition on MSVC. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Test also whether ceill can be + used as a function pointer. + * lib/math.in.h (ceill): Undefine if it is not declared as a function. + +2012-02-24 Bruno Haible + + floorl: Provide function definition on MSVC. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Test also whether floorl can be + used as a function pointer. + * lib/math.in.h (floorl): Undefine if it is not declared as a function. + +2012-02-24 Bruno Haible + + ceilf: Provide function definition on MSVC. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Test also whether ceilf can be + used as a function pointer. + * lib/math.in.h (ceilf): Undefine if it is not declared as a function. + +2012-02-24 Bruno Haible + + floorf: Provide function definition on MSVC. + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Test also whether floorf can be + used as a function pointer. + * lib/math.in.h (floorf): Undefine if it is not declared as a function. + +2012-02-24 Paul Eggert + + stdnoreturn: new module + This implements a replacement for C11's . + * doc/gnulib.texi (Header File Substitutes): Add stdnoreturn. + * doc/posix-headers/stdnoreturn.texi, lib/stdnoreturn.in.h: + * m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests: + * tests/test-stdnoreturn.c: New files. + +2012-02-24 Stanislav Brabec (tiny change) + + regex: fix false multibyte matches in some regular expressions + See + and . + * lib/regex_internal.c (re_string_skip_chars): + Fix miscomputation of remain_len that may cause incomplete + multi-byte character and false match. + +2012-02-24 Jim Meyering + + maint.mk: tell sc_prohibit_strcmp to ding "0 == strcmp (...)", too + * top/maint.mk (sc_prohibit_strcmp): Also prohibit uses of strcmp + uses with "==" *before* the call, e.g., 0 == strcmp (...) + Remove now-unnecessary str''cmp obfuscation. + Suggested by Akim Demaille. + +2012-02-24 Bruno Haible + + streq: Rename macro. + * lib/streq.h (STREQ_OPT): Renamed from STREQ. + * NEWS: Mention the change. + * lib/mbrtowc.c (mbrtowc): Update. + * lib/uniwidth/cjk.h (is_cjk_encoding): Update. + * lib/wcwidth.c (wcwidth): Update. + Suggested by Akim Demaille and Jim Meyering. + +2012-02-20 Paul Eggert + + regex: fix typo in definition of MIN + * lib/regex_internal.h (MIN): Fix typo. Problem reported by Thomas + Schwinge in . + +2012-02-19 Paul Eggert + Bruno Haible + + acl: Don't use ACL_CNT and similar ops, since they are unreliable. + * lib/file-has-acl.c (file_has_acl) [HP-UX, NonStop Kernel]: Read the + entries into a stack-allocated buffer directly. + * lib/copy-acl.c (qcopy_acl) [HP-UX, NonStop Kernel]: Likewise. + +2012-02-19 Paul Eggert + Bruno Haible + + acl: Don't use GETACLCNT and similar ops, since they are unreliable. + + - There were several instances of this pattern: + + for (;;) { + n = acl (f, GETACLCNT, 0, NULL); + [ allocate an array A of size N ] + if (acl (f, GETACL, n, a) == n) + break; + } + + This loop might never terminate if some other process is constantly + manipulating the file's ACL. The loop should be rewritten to + terminate. + + - The acl (... GETACLNT ...) call is merely an optimization; its value + is merely a hint as to how big to make the array. A better + optimization is to avoid the acl (... GETACLNT ...) call entirely, + and just guess a reasonably-big size, growing the size and trying + again if it's not large enough. This guarantees termination, and + saves a system call. + + * lib/acl-internal.h: Include . + (MIN, SIZE_MAX): New macros. + * lib/file-has-acl.c (file_has_acl) [Solaris]: Read the entries into + a stack-allocated buffer, and use malloc if it does not fit. Don't + use GETACLCNT. + * lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise. + +2012-02-19 Bruno Haible + + acl: Fix endless loop on Solaris with vxfs. + * lib/file-has-acl.c (file_has_acl) [Solaris]: Treat a failing + acl()/facl() call for ACE_GETACL like a failing call for ACE_GETACLCNT. + * lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise. + * lib/copy-acl.c (qcopy_acl)[Solaris]: Likewise. + * tests/test-sameacls.c (main)[Solaris]: Likewise. + Reported by Bill Jones in + , via Paul Eggert. + +2012-02-19 Bruno Haible + + acl: Fix copy-acl test failure on Solaris 11 2011-11. + * lib/file-has-acl.c (NEW_ACE_WRITEA_DATA): New macro. + (acl_ace_nontrivial): Relax the restrictions on access_masks[] so + that this function returns 0 in some more cases. + +2012-02-19 Bruno Haible + + acl: Update doc references. + * doc/acl-resources.txt: Update links to Solaris documentation. + +2012-02-19 Bruno Haible + + Fix test failure in many locales on Solaris 11. + * tests/test-pipe-filter-gi1.c (main): Don't use range expression in + 'tr' arguments. + * tests/test-pipe-filter-ii1.c (main): Likewise. + * build-aux/bootstrap (check_versions): Run 'tr' command with range + expressions in the C locale. + * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. + * m4/host-os.m4 (gl_HOST_OS): Likewise. + +2012-02-19 Bruno Haible + + gnulib-tool: Improve usage message. + * gnulib-tool (func_usage): Move doc of --help and --version to the + section "Operation modes". + +2012-02-18 Reuben Thomas + + README-release: make it easier to execute commands + * top/README-release: break commands out on to separate lines. + +2012-02-16 Stefano Lattarini + + GNUmakefile: simplify detection of unconfigured trees + * top/GNUmakefile: Use $(wildcard) instead of $(shell) to determine + whether the tree make is being run from is already configured or + not. Related simplifications. + +2012-02-13 Simon Josefsson + + * gnulib-tool (func_usage): Document --help and --version. + +2012-02-11 Jim Meyering + + bootstrap: don't exit 0 upon gnulib-tool failure + * build-aux/bootstrap (gnulib_tool): If gnulib-tool fails, exit with + its exit status, not 0. + +2011-12-19 Reuben Thomas + + README-release: various improvements + * top/README-release: Give a command to push changes for the + release. Add "distcheck" to list of other pre-release checks. + Fix instance of "make stable" which should be "make TYPE". + +2012-02-09 Paul Eggert + + maint: replace FSF snail-mail addresses with URLs + * config/argz.mk, lib/accept4.c, lib/alignof.h, lib/alloca.in.h: + * lib/alphasort.c, lib/arcfour.c, lib/arcfour.h, lib/arctwo.c: + * lib/arctwo.h, lib/argz.c, lib/arpa_inet.in.h, lib/asnprintf.c: + * lib/asprintf.c, lib/assert.in.h, lib/base32.c, lib/base32.h: + * lib/base64.c, lib/base64.h, lib/c-ctype.c, lib/c-ctype.h: + * lib/c-strcase.h, lib/c-strcasecmp.c, lib/c-strncasecmp.c: + * lib/check-version.c, lib/check-version.h, lib/config.charset: + * lib/ctype.in.h, lib/des.c, lib/des.h, lib/dup3.c, lib/errno.in.h: + * lib/float+.h, lib/fnmatch.c, lib/fnmatch.in.h, lib/fnmatch_loop.c: + * lib/fseeko.c, lib/gai_strerror.c, lib/gc-gnulib.c: + * lib/gc-libgcrypt.c, lib/gc-pbkdf2-sha1.c, lib/gc.h: + * lib/getaddrinfo.c, lib/getdelim.c, lib/getfilecon.c, lib/getline.c: + * lib/getlogin_r.c, lib/getpass.c, lib/getpass.h, lib/gettext.h: + * lib/gettimeofday.c, lib/glob.in.h, lib/glthread/cond.c: + * lib/glthread/cond.h, lib/glthread/lock.c, lib/glthread/lock.h: + * lib/glthread/thread.c, lib/glthread/thread.h: + * lib/glthread/threadlib.c, lib/glthread/yield.h, lib/hmac-md5.c: + * lib/hmac-sha1.c, lib/hmac.h, lib/iconv.c, lib/iconv.in.h: + * lib/iconv_close.c, lib/iconv_open.c, lib/inet_ntop.c, lib/isfinite.c: + * lib/isinf.c, lib/iswblank.c, lib/langinfo.in.h, lib/link.c: + * lib/localcharset.c, lib/localcharset.h, lib/lseek.c, lib/malloc.c: + * lib/malloca.c, lib/malloca.h, lib/md2.c, lib/md2.h, lib/md4.c: + * lib/md4.h, lib/md5.c, lib/md5.h, lib/memmem.c, lib/mempcpy.c: + * lib/memset.c, lib/memxor.c, lib/memxor.h, lib/minmax.h, lib/mktime.c: + * lib/msvc-inval.c, lib/msvc-inval.h, lib/msvc-nothrow.c: + * lib/msvc-nothrow.h, lib/netdb.in.h, lib/netinet_in.in.h, lib/nproc.c: + * lib/nproc.h, lib/obstack_printf.c, lib/pathmax.h, lib/pipe.c: + * lib/pipe2.c, lib/poll.c, lib/poll.in.h, lib/printf-args.c: + * lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h: + * lib/pselect.c, lib/pthread.in.h, lib/pty-private.h, lib/pty.in.h: + * lib/read-file.c, lib/read-file.h, lib/ref-add.sin, lib/ref-del.sin: + * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c: + * lib/regex_internal.h, lib/regexec.c, lib/rijndael-alg-fst.c: + * lib/rijndael-alg-fst.h, lib/rijndael-api-fst.c: + * lib/rijndael-api-fst.h, lib/rint.c, lib/rintf.c, lib/rintl.c: + * lib/round.c, lib/roundf.c, lib/roundl.c, lib/scandir.c, lib/select.c: + * lib/sha1.c, lib/sha1.h, lib/size_max.h, lib/snprintf.c: + * lib/stdalign.in.h, lib/stdarg.in.h, lib/stdbool.in.h: + * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/str-kmp.h: + * lib/str-two-way.h, lib/strcasecmp.c, lib/strcasestr.c, lib/strdup.c: + * lib/striconv.c, lib/striconv.h, lib/string.in.h, lib/strings.in.h: + * lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/strpbrk.c: + * lib/strptime.c, lib/strsep.c, lib/strstr.c, lib/strverscmp.c: + * lib/sys_file.in.h, lib/sys_ioctl.in.h, lib/sys_select.in.h: + * lib/sys_socket.in.h, lib/sys_stat.in.h, lib/sys_time.in.h: + * lib/sys_times.in.h, lib/sys_types.in.h, lib/sys_uio.in.h: + * lib/sys_utsname.in.h, lib/sys_wait.in.h, lib/tcgetsid.c: + * lib/termios.in.h, lib/time.in.h, lib/time_r.c, lib/timegm.c: + * lib/times.c, lib/unictype/3level.h, lib/unictype/3levelbit.h: + * lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/vasprintf.c: + * lib/vsnprintf.c, lib/waitpid.c, lib/wchar.in.h, lib/wctype.in.h: + * lib/xsize.h, tests/test-closein.c, tests/test-des.c: + * tests/test-fclose.c, tests/test-fgetc.c, tests/test-filevercmp.c: + * tests/test-fputc.c, tests/test-fread.c, tests/test-fwrite.c: + * tests/test-gc-arcfour.c, tests/test-gc-arctwo.c, tests/test-gc-des.c: + * tests/test-gc-hmac-md5.c, tests/test-gc-hmac-sha1.c: + * tests/test-gc-md2.c, tests/test-gc-md4.c, tests/test-gc-md5.c: + * tests/test-gc-pbkdf2-sha1.c, tests/test-gc-rijndael.c: + * tests/test-gc-sha1.c, tests/test-gc.c, tests/test-getdelim.c: + * tests/test-getline.c, tests/test-getndelim2.c, tests/test-md2.c: + * tests/test-md4.c, tests/test-parse-datetime.c, tests/test-perror.c: + * tests/test-perror2.c, tests/test-pipe.c, tests/test-pipe2.c: + * tests/test-poll.c, tests/test-quotearg-simple.c: + * tests/test-quotearg.c, tests/test-quotearg.h: + * tests/test-round-ieee.c, tests/test-round1.c: + * tests/test-roundf-ieee.c, tests/test-roundf1.c: + * tests/test-roundl-ieee.c, tests/test-roundl.c: + * tests/test-safe-alloc.c, tests/test-sigpipe.c: + * tests/test-spawn-pipe-child.c, tests/test-spawn-pipe-main.c: + * tests/test-strerror.c, tests/test-strerror_r.c: + * tests/test-strsignal.c, tests/test-strverscmp.c: + * tests/test-xmemdup0.c: + Replace FSF snail mail addresses with URLs, as per GNU coding + standards. See glibc bug + . + +2011-12-22 Reuben Thomas + + README-release: capitalize a word and split a line + * top/README-release: Fix punctuation and spacing. + +2012-02-08 Akim Demaille + + fatal-signal: use C prototypes (with explicit void). + * lib/fatal-signal.c (uninstall_handlers, install_handlers) + (init_fatal_signal_set, block_fatal_signals): Fix signatures. + +2012-02-07 Paul Eggert + + regex: spelling fix + * lib/regexec.c: spelling fix + + regex: rely on stdint.h for SIZE_MAX + * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now. + +2012-02-07 Paul Eggert + + regex: merge glibc changes + + * lib/regcomp.c (init_dfa): Tighten overflow checks to test + for IDX_MAX too, since IDX_MAX can be much less than SIZE_MAX. + (init_word_char): Work even if bitset words are not exactly 32 or + 64 bits wide. Don't assume there are no padding bits. + * lib/regex.c [_LIBC]: Do not include . + [!_LIBC]: Add pragmas to ignore -Wsuggest-attributes=pure + and -Wtype-limits. + * lib/regex.h (__USE_GNU): Renamed from __USE_GNU_REGEX, to avoid + needless disagreement with glibc. All uses changed. Define it to + 1 only if _GNU_SOURCE, to match glibc. + (_REG_RM_NAME): Remove; no longer needed, since the names in + question are now all protected by __USE_GNU. + (_REG_RE_NAME): Remove; replaced by glibc's __REPB_PREFIX. + (REG_TRANSLATE_TYPE): Remove; replaced by glibc's __RE_TRANSLATE_TYPE. + * lib/regex_internal.h (MIN): New macro. + + 2012-01-03 Ulrich Drepper + * lib/regcomp.c (init_word_char): Optimize regex a bit. + + 2011-12-30 Jakub Jelinek + * lib/regex_internal.c (re_string_fetch_byte_case): + Fix up regcomp/regexec. The problem is that parse_bracket_symbol + is miscompiled, and it turns out it is because of an incorrect + attribute on re_string_fetch_byte_case. Unlike + re_string_peek_byte_case, this one is really not pure, it modifies + memory (increments pstr->cur_idx), and with the pure attribute GCC + assumed it doesn't and it cached the presumed value of + regexp->cur_idx in a variable across the + for (;; ++i) + { + if (i >= BRACKET_NAME_BUF_SIZE) + return REG_EBRACK; + if (token->type == OP_OPEN_CHAR_CLASS) + ch = re_string_fetch_byte_case (regexp); + else + ch = re_string_fetch_byte (regexp); + if (re_string_eoi(regexp)) + return REG_EBRACK; + if (ch == delim && re_string_peek_byte (regexp, 0) == ']') + break; + elem->opr.name[i] = ch; + } + + 2011-11-29 Andreas Schwab + * lib/regcomp.c (build_equiv_class): + Fix access after end of search string in regex matcher. + + 2011-11-12 Ulrich Drepper + * lib/regex_internal.c, lib/regex_internal.h: Fix warnings in regex. + + 2011-10-12 Ulrich Drepper + * lib/regcomp.c (parse_branch): One more regex memory leak fixed. + + 2011-10-11 Ulrich Drepper + * lib/regcomp.c (parse_branch, parse_sub_exp): + More regex memory leak fixes and tests. + (parse_sub_exp, parse_bracket_exp): + Fix memory leak for some invalid regular expressions. + + 2011-05-28 Ulrich Drepper + * lib/regex_internal.c, lib/regexec.c: + Fix unnecessary overallocation due to incomplete character. When + incomplete characters are found at the end of a string the code + ran amok and allocated lots of memory. Stricter limits are now in + place. + + 2011-05-20 Reuben Thomas + * lib/regex.h: Update documentation. + + 2011-05-16 Aharon Robbins + * lib/regex.h: Update RE_SYNTAX*_AWK constants. + + 2010-05-05 Andreas Schwab + * lib/regexec.c (find_collation_sequence_value): + Fix lookup of collation sequence value during regexp matching. + + 2010-01-22 Ulrich Drepper + * lib/regex_internal.c (re_dfa_add_node): Extend overflow detection. + + 2008-01-16 Ulrich Drepper + * lib/regex.h: Cleanup namespace. + + 2007-11-26 Ulrich Drepper + * lib/regex.h (REG_ENOSYS): Define REG_ENOSYS also for __USE_XOPEN2K. + + 2007-08-26 Ulrich Drepper + * lib/regex_internal.h: Prevent some declarations and definitions + to be seen when used in tests. + + 2005-05-06 Ulrich Drepper + * lib/regex_internal.h: Include bits/libc-lock.h or define dummy + __libc_lock_* macros if not _LIBC. + (struct re_dfa_t): Add lock. + +2012-02-07 Eric Blake + + maint.mk: also prohibit lower-case @var@ + * top/maint.mk (sc_makefile_at_at_check): Enhance check to cover + lower case, like @top_srcdir@. + +2012-02-04 Eric Blake + + canonicalize: avoid uninitialized memory use + * lib/canonicalize-lgpl.c (__realpath): Avoid possibility of + random '/' left in dest. + * lib/canonicalize.c (canonicalize_filename_mode): Likewise. + +2012-02-04 Bruno Haible + + isatty: Fix test failure of ptsname_r on native Windows. + * lib/isatty.c (_isatty_nothrow): Upon exception, return 0, not -1, + and don't set errno. + (isatty): Test first whether fd is valid. Set errno when returning 0. + +2012-02-04 Bruno Haible + + spawn-pipe tests: Fix a NULL program name in a diagnostic. + * tests/test-spawn-pipe-main.c: Include progname.h. + (main): Invoke set_program_name. + * modules/spawn-pipe-tests (Depends-on): Add progname. + + nonblocking-socket tests: Fix a NULL program name in a diagnostic. + * tests/test-nonblocking-socket-main.c: Include progname.h. + (main): Invoke set_program_name. + * modules/nonblocking-socket-tests (Depends-on): Add progname. + + nonblocking-pipe tests: Fix a NULL program name in a diagnostic. + * tests/test-nonblocking-pipe-main.c: Include progname.h. + (main): Invoke set_program_name. + * modules/nonblocking-pipe-tests (Depends-on): Add progname. + +2012-02-04 Eric Blake + + canonicalize-lgpl: fix // handling + * lib/canonicalize-lgpl.c (__realpath): Don't convert /// to //. + + canonicalize: fix // handling + * lib/canonicalize.c (canonicalize_filename_mode): Don't convert + /// to //, since only // is special. + +2012-02-04 Bruno Haible + + ioctl: Fix test failure on native Windows. + * lib/ioctl.c: Include msvc-nothrow.h. + (primary_ioctl): If fd is not a valid handle, set errno to EBADF. + +2012-02-04 Bruno Haible + + fsync: Avoid test failure on native Windows. + * lib/fsync.c (fsync) [Windows]: Don't fail if the handle is merely + read-only. + 2012-02-04 Bruno Haible sys_select: Avoid syntax error on OpenBSD 5.0.