X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=16784a291de1712c2614c26575b3c68dd383316a;hb=ed7db9bfcfb029f39bad501d1d7dc5b0acd3b7ec;hp=b479f919f97071e8015c59e18fcb263743c8afdb;hpb=1d1cb185e6a59c3323adecc6a237bfac3928e76c;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index b479f919f..16784a291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,850 @@ +2010-01-24 Bruno Haible + + Tests for module 'lgamma'. + * modules/lgamma-tests: New file. + * tests/test-lgamma.c: New file. + + Tests for module 'ldexp'. + * modules/ldexp-tests: New file. + * tests/test-ldexp.c: New file. + + Tests for module 'jn'. + * modules/jn-tests: New file. + * tests/test-jn.c: New file. + + Tests for module 'j1'. + * modules/j1-tests: New file. + * tests/test-j1.c: New file. + + Tests for module 'j0'. + * modules/j0-tests: New file. + * tests/test-j0.c: New file. + + Tests for module 'hypot'. + * modules/hypot-tests: New file. + * tests/test-hypot.c: New file. + + Tests for module 'fmod'. + * modules/fmod-tests: New file. + * tests/test-fmod.c: New file. + + Tests for module 'fabs'. + * modules/fabs-tests: New file. + * tests/test-fabs.c: New file. + + Tests for module 'exp'. + * modules/exp-tests: New file. + * tests/test-exp.c: New file. + + Tests for module 'erfc'. + * modules/erfc-tests: New file. + * tests/test-erfc.c: New file. + + Tests for module 'erf'. + * modules/erf-tests: New file. + * tests/test-erf.c: New file. + + Tests for module 'cosh'. + * modules/cosh-tests: New file. + * tests/test-cosh.c: New file. + + Tests for module 'cos'. + * modules/cos-tests: New file. + * tests/test-cos.c: New file. + + Tests for module 'copysign'. + * modules/copysign-tests: New file. + * tests/test-copysign.c: New file. + + Tests for module 'cbrt'. + * modules/cbrt-tests: New file. + * tests/test-cbrt.c: New file. + + Tests for module 'atan2'. + * modules/atan2-tests: New file. + * tests/test-atan2.c: New file. + + Tests for module 'atan'. + * modules/atan-tests: New file. + * tests/test-atan.c: New file. + + Tests for module 'asin'. + * modules/asin-tests: New file. + * tests/test-asin.c: New file. + + Tests for module 'acos'. + * modules/acos-tests: New file. + * tests/test-acos.c: New file. + +2010-01-24 Bruno Haible + + Fix tests for common functions. + * m4/mathfunc.m4 (gl_MATHFUNC): Take two additional parameters. Use a + code snippet that references the function pointer, rather than merely + calling the function. Substitute the FUNC_LIBM variable. + * m4/sqrt.m4 (gl_FUNC_SQRT): Update gl_MATHFUNC invocation. + * modules/acos (configure.ac): Likewise. + * modules/asin (configure.ac): Likewise. + * modules/atan (configure.ac): Likewise. + * modules/atan2 (configure.ac): Likewise. + * modules/cbrt (configure.ac): Likewise. + * modules/copysign (configure.ac): Likewise. + * modules/cos (configure.ac): Likewise. + * modules/cosh (configure.ac): Likewise. + * modules/erf (configure.ac): Likewise. + * modules/erfc (configure.ac): Likewise. + * modules/exp (configure.ac): Likewise. + * modules/fabs (configure.ac): Likewise. + * modules/fmod (configure.ac): Likewise. + * modules/hypot (configure.ac): Likewise. + * modules/j0 (configure.ac): Likewise. + * modules/j1 (configure.ac): Likewise. + * modules/jn (configure.ac): Likewise. + * modules/ldexp (configure.ac): Likewise. + * modules/lgamma (configure.ac): Likewise. + * modules/log (configure.ac): Likewise. + * modules/log10 (configure.ac): Likewise. + * modules/log1p (configure.ac): Likewise. + * modules/logb (configure.ac): Likewise. + * modules/modf (configure.ac): Likewise. + * modules/nextafter (configure.ac): Likewise. + * modules/pow (configure.ac): Likewise. + * modules/remainder (configure.ac): Likewise. + * modules/rint (configure.ac): Likewise. + * modules/sin (configure.ac): Likewise. + * modules/sinh (configure.ac): Likewise. + * modules/tan (configure.ac): Likewise. + * modules/tanh (configure.ac): Likewise. + * modules/y0 (configure.ac): Likewise. + * modules/y1 (configure.ac): Likewise. + * modules/yn (configure.ac): Likewise. + +2010-01-24 Bruno Haible + + Tests: Defeat inlining of math functions by GCC >= 4.3.0. + * tests/test-acosl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-asinl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-atanl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-cosl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-expl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-logl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-sinl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-sqrtl.c (x): New variable. + (main): Store argument in x and fetch it from x. + * tests/test-tanl.c (x): New variable. + (main): Store argument in x and fetch it from x. + +2010-01-24 Bruno Haible + + Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default. + * gnulib-tool (func_emit_tests_Makefile_am): Add EXEEXT and srcdir + assignments to the initial TESTS_ENVIRONMENT. + * doc/gnulib.texi (Unit test modules): Document it. + * modules/acl-tests (Makefile.am): Drop EXEEXT assignment from + TESTS_ENVIRONMENT. + * modules/btowc-tests (Makefile.am): Likewise. + * modules/c-stack-tests (Makefile.am): Likewise. + * modules/c-strcase-tests (Makefile.am): Likewise. + * modules/copy-file-tests (Makefile.am): Likewise. + * modules/mbmemcasecmp-tests (Makefile.am): Likewise. + * modules/mbmemcasecoll-tests (Makefile.am): Likewise. + * modules/mbrtowc-tests (Makefile.am): Likewise. + * modules/mbscasecmp-tests (Makefile.am): Likewise. + * modules/mbscasestr-tests (Makefile.am): Likewise. + * modules/mbschr-tests (Makefile.am): Likewise. + * modules/mbscspn-tests (Makefile.am): Likewise. + * modules/mbsinit-tests (Makefile.am): Likewise. + * modules/mbsncasecmp-tests (Makefile.am): Likewise. + * modules/mbsnrtowcs-tests (Makefile.am): Likewise. + * modules/mbspbrk-tests (Makefile.am): Likewise. + * modules/mbspcasecmp-tests (Makefile.am): Likewise. + * modules/mbsrchr-tests (Makefile.am): Likewise. + * modules/mbsrtowcs-tests (Makefile.am): Likewise. + * modules/mbsspn-tests (Makefile.am): Likewise. + * modules/mbsstr-tests (Makefile.am): Likewise. + * modules/nl_langinfo-tests (Makefile.am): Likewise. + * modules/unicase/locale-language-tests (Makefile.am): Likewise. + * modules/unistdio/u16-vasnprintf-tests (Makefile.am): Likewise. + * modules/unistdio/u32-vasnprintf-tests (Makefile.am): Likewise. + * modules/unistdio/u8-vasnprintf-tests (Makefile.am): Likewise. + * modules/unistdio/ulc-vasnprintf-tests (Makefile.am): Likewise. + * modules/uniwbrk/ulc-wordbreaks-tests (Makefile.am): Likewise. + * modules/vasnprintf-posix-tests (Makefile.am): Likewise. + * modules/wcrtomb-tests (Makefile.am): Likewise. + * modules/wcsnrtombs-tests (Makefile.am): Likewise. + * modules/wcsrtombs-tests (Makefile.am): Likewise. + * modules/quotearg-tests (Makefile.am): Drop EXEEXT and srcdir + assignments from TESTS_ENVIRONMENT. + * modules/argp-tests (Makefile.am): Drop TESTS_ENVIRONMENT + augmentation. + * modules/argp-version-etc-tests (Makefile.am): Likewise. + * modules/atexit-tests (Makefile.am): Likewise. + * modules/binary-io-tests (Makefile.am): Likewise. + * modules/closein-tests (Makefile.am): Likewise. + * modules/dprintf-posix-tests (Makefile.am): Likewise. + * modules/exclude-tests (Makefile.am): Likewise. + * modules/fflush-tests (Makefile.am): Likewise. + * modules/fpending-tests (Makefile.am): Likewise. + * modules/fprintf-posix-tests (Makefile.am): Likewise. + * modules/freadahead-tests (Makefile.am): Likewise. + * modules/freadptr-tests (Makefile.am): Likewise. + * modules/freadseek-tests (Makefile.am): Likewise. + * modules/fseek-tests (Makefile.am): Likewise. + * modules/fseeko-tests (Makefile.am): Likewise. + * modules/ftell-tests (Makefile.am): Likewise. + * modules/ftello-tests (Makefile.am): Likewise. + * modules/idpriv-drop-tests (Makefile.am): Likewise. + * modules/idpriv-droptemp-tests (Makefile.am): Likewise. + * modules/lseek-tests (Makefile.am): Likewise. + * modules/parse-duration-tests (Makefile.am): Likewise. + * modules/perror-tests (Makefile.am): Likewise. + * modules/pipe-filter-gi-tests (Makefile.am): Likewise. + * modules/pipe-filter-ii-tests (Makefile.am): Likewise. + * modules/pipe-tests (Makefile.am): Likewise. + * modules/pread-tests (Makefile.am): Likewise. + * modules/printf-posix-tests (Makefile.am): Likewise. + * modules/select-tests (Makefile.am): Likewise. + * modules/sigpipe-tests (Makefile.am): Likewise. + * modules/tsearch-tests (Makefile.am): Likewise. + * modules/unicase/ulc-casecmp-tests (Makefile.am): Likewise. + * modules/unicase/ulc-casecoll-tests (Makefile.am): Likewise. + * modules/uniname/uniname-tests (Makefile.am): Likewise. + * modules/uniwidth/width-tests (Makefile.am): Likewise. + * modules/vdprintf-posix-tests (Makefile.am): Likewise. + * modules/version-etc-tests (Makefile.am): Likewise. + * modules/vfprintf-posix-tests (Makefile.am): Likewise. + * modules/vprintf-posix-tests (Makefile.am): Likewise. + * modules/xalloc-die-tests (Makefile.am): Likewise. + * modules/xprintf-posix-tests (Makefile.am): Likewise. + * modules/xstrtoimax-tests (Makefile.am): Likewise. + * modules/xstrtol-tests (Makefile.am): Likewise. + * modules/xstrtoumax-tests (Makefile.am): Likewise. + * modules/yesno-tests (Makefile.am): Likewise. + Suggested by Jim Meyering. + +2010-01-24 Bruno Haible + + More documentation. + * doc/gnulib.texi (Writing modules): New chapter. + (Miscellaneous Notes): Move sections "Comments" and "Header files" to + the new chapter. + +2010-01-24 Jim Meyering + + maint.mk: do not prepend "./" after filtering + * top/maint.mk (_prepend_srcdir_prefix): New variable + (VC_LIST_EXCEPT): Use it to avoid prepending (post-filter) + "./" when $(srcdir) is ".". + + define STREQ(a,b) consistently, removing useless parentheses + #define STREQ(a, b) (strcmp ((a), (b)) == 0) is over-parenthesized, + since the only risk is that "a" or "b" contains an unparenthesized + comma, but if either did that, STREQ would have 3 or more arguments. + Hence, #define STREQ(a, b) (strcmp (a, b) == 0) is better. + * lib/fts.c (STREQ): Remove unnecessary parentheses. + * lib/hash-triple.c (STREQ): Likewise. + * tests/test-argv-iter.c (STREQ): Use a and b, not s1 and s2. + * lib/getugroups.c (STREQ): Likewise. + +2010-01-23 Jim Meyering + + maint.mk: fix syntax-check in a non-srcdir build directory + * top/maint.mk (_dot_escaped_srcdir): Remove erroneous backslash, + introduced in my 2010-01-21 commit, a6da6c45. Reported by Eric Blake. + +2010-01-22 Jim Meyering + + userspec: add unit tests + * tests/test-userspec.c: New file. + * modules/userspec-tests: Likewise. + +2010-01-21 Jim Meyering + + maint.mk: handle source file names containing "." robustly + * top/maint.mk (_dot_escaped_srcdir): Define. + (VC_LIST): Use it in LHS of sed substitution. + +2010-01-21 Jiri Denemark + + maint.mk: fix VC_LIST_EXCEPT for srcdir != builddir + * top/maint.mk (VC_LIST_EXCEPT): Preprocess the output of + $(VC_LIST) to remove a prefix of '$(srcdir)/', so that it works + from a non-srcdir build. + +2010-01-20 Eric Blake + + warn-on-use: use instead of link-warning + * modules/stdio (Depends-on, Makefile.am): Drop link-warning. + * modules/unistd (Depends-on, Makefile.am): Likewise. + * modules/arpa_inet (Depends-on): Replace link-warning with + warn-on-use. + (Makefile.am): Update rules accordingly. + * modules/ctype (Depends-on, Makefile.am): Likewise. + * modules/dirent (Depends-on, Makefile.am): Likewise. + * modules/fcntl-h (Depends-on, Makefile.am): Likewise. + * modules/inttypes (Depends-on, Makefile.am): Likewise. + * modules/langinfo (Depends-on, Makefile.am): Likewise. + * modules/locale (Depends-on, Makefile.am): Likewise. + * modules/math (Depends-on, Makefile.am): Likewise. + * modules/search (Depends-on, Makefile.am): Likewise. + * modules/signal (Depends-on, Makefile.am): Likewise. + * modules/spawn (Depends-on, Makefile.am): Likewise. + * modules/stdlib (Depends-on, Makefile.am): Likewise. + * modules/string (Depends-on, Makefile.am): Likewise. + * modules/strings (Depends-on, Makefile.am): Likewise. + * modules/sys_file (Depends-on, Makefile.am): Likewise. + * modules/sys_ioctl (Depends-on, Makefile.am): Likewise. + * modules/sys_select (Depends-on, Makefile.am): Likewise. + * modules/sys_socket (Depends-on, Makefile.am): Likewise. + * modules/sys_stat (Depends-on, Makefile.am): Likewise. + * modules/sys_times (Depends-on, Makefile.am): Likewise. + * modules/sys_utsname (Depends-on, Makefile.am): Likewise. + * modules/wchar (Depends-on, Makefile.am): Likewise. + * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Check which functions + should be poisoned. + * m4/ctype.m4 (gl_CTYPE_H): Likewise. + * m4/dirent_h.m4 (gl_DIRENT_H): Likewise. + * m4/fcntl_h.m4 (gl_FCNTL_H): Likewise. + * m4/inttypes.m4 (gl_INTTYPES_H): Likewise. + * m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise. + * m4/locale_h.m4 (gl_LOCALE_H): Likewise. + * m4/math_h.m4 (gl_MATH_H): Likewise. + * m4/search_h.m4 (gl_SEARCH_H): Likewise. + * m4/signal_h.m4 (gl_SIGNAL_H): Likewise. + * m4/spawn_h.m4 (gl_SPAWN_H): Likewise. + * m4/stdio_h.m4 (gl_STDIO_H): Likewise. + * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise. + * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise. + * m4/strings_h.m4 (gl_HEADER_STRINGS_H_BODY): Likewise. + * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H_DEFAULTS): Likewise. + * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise. + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. + * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise. + * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise. + * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H): Likewise. + * m4/unistd_h.m4 (gl_UNISTD_H): Likewise. + * m4/wchar.m4 (gl_WCHAR_H): Likewise. + * lib/arpa_inet.in.h: Use _GL_WARN_ON_USE instead of + GL_LINK_WARNING. + * lib/ctype.in.h: Likewise. + * lib/dirent.in.h: Likewise. + * lib/fcntl.in.h: Likewise. + * lib/inttypes.in.h: Likewise. + * lib/langinfo.in.h: Likewise. + * lib/locale.in.h: Likewise. + * lib/math.in.h: Likewise. + * lib/search.in.h: Likewise. + * lib/signal.in.h: Likewise. + * lib/spawn.in.h: Likewise. + * lib/stdio.in.h: Likewise. + * lib/stdlib.in.h: Likewise. + * lib/string.in.h: Likewise. + * lib/strings.in.h: Likewise. + * lib/sys_file.in.h: Likewise. + * lib/sys_ioctl.in.h: Likewise. + * lib/sys_select.in.h: Likewise. + * lib/sys_socket.in.h: Likewise. + * lib/sys_stat.in.h: Likewise. + * lib/sys_times.in.h: Likewise. + * lib/sys_utsname.in.h: Likewise. + * lib/unistd.in.h: Likewise. + * lib/wchar.in.h: Likewise. + +2010-01-20 Bruno Haible + + Avoid duplicate -lm. + * m4/isnan.m4 (gl_ISNAN): Avoid duplicate -lm in $ISNAN_LIBM. + * m4/round.m4 (gl_FUNC_ROUND): Avoid duplicate -lm in $ROUND_LIBM. + * m4/roundf.m4 (gl_FUNC_ROUNDF): Avoid duplicate -lm in $ROUNDF_LIBM. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Avoid duplicate -lm in $ROUNDL_LIBM. + * m4/acosl.m4 (gl_FUNC_ACOSL): Avoid duplicate -lm in $ACOSL_LIBM. + * m4/cosl.m4 (gl_FUNC_COSL): Avoid duplicate -lm in $COSL_LIBM. + * m4/logl.m4 (gl_FUNC_LOGL): Avoid duplicate -lm in $LOGL_LIBM. + * m4/sinl.m4 (gl_FUNC_SINL): Avoid duplicate -lm in $SINL_LIBM. + * m4/sqrtl.m4 (gl_FUNC_SQRTL): Avoid duplicate -lm in $SQRTL_LIBM. + * m4/tanl.m4 (gl_FUNC_TANL): Avoid duplicate -lm in $TANL_LIBM. + * m4/asinl.m4 (gl_FUNC_ASINL): Same change, for consistency. + * m4/atanl.m4 (gl_FUNC_ATANL): Likewise. + Reported by Paolo Bonzini. + +2010-01-19 Bruno Haible + + langinfo, nl_langinfo: Relicense under LGPLv2+. + * modules/langinfo (License): Change to LGPLv2+. + * modules/nl_langinfo (License): Likewise. + Patch by David Lutterkort . + +2010-01-19 Bruno Haible + + Avoid compilation error with cc on OSF/1 5.1. + * lib/fcntl.in.h: Include after the #include_next + statement, not before. + Reported by Ralf Wildenhues . + +2010-01-18 Bruno Haible + + Avoid a link error due to the __printf__ symbol. + * lib/stdio.in.h (__attribute__): Define to empty also for gcc 2.5.x + and 2.6.x. + (__format__, __printf__): Remove definitions. + * lib/argp-fmtstream.h: Likewise. + * lib/argp.h: Likewise. + * lib/error.h: Likewise. + * lib/vasnprintf.h: Likewise. + * lib/xprintf.h: Likewise. + * lib/xvasprintf.h: Likewise. + Reported by Ralf Wildenhues . + +2010-01-18 Bruno Haible + + Tests for module 'tanl'. + * modules/tanl-tests: New file. + * tests/test-tanl.c: New file. + + Tests for module 'sqrtl'. + * modules/sqrtl-tests: New file. + * tests/test-sqrtl.c: New file. + + Tests for module 'sinl'. + * modules/sinl-tests: New file. + * tests/test-sinl.c: New file. + + Tests for module 'logl'. + * modules/logl-tests: New file. + * tests/test-logl.c: New file. + + Tests for module 'expl'. + * modules/expl-tests: New file. + * tests/test-expl.c: New file. + + Tests for module 'cosl'. + * modules/cosl-tests: New file. + * tests/test-cosl.c: New file. + + Tests for module 'atanl'. + * modules/atanl-tests: New file. + * tests/test-atanl.c: New file. + + Tests for module 'asinl'. + * modules/asinl-tests: New file. + * tests/test-asinl.c: New file. + + Tests for module 'acosl'. + * modules/acosl-tests: New file. + * tests/test-acosl.c: New file. + + New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl. + * lib/math.in.h (acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, + tanl): Use the standard gnulib idiom. + * lib/cosl.c: Don't include trigl.c and sincosl.c. + * lib/sinl.c: Likewise. + * lib/tanl.c: Don't include trigl.c. + (kernel_tanl): Make static. + * lib/sincosl.c: Include trigl.h first. + * lib/trigl.c: Likewise. + * m4/acosl.m4: New file. + * m4/asinl.m4: New file. + * m4/atanl.m4: New file. + * m4/cosl.m4: New file. + * m4/expl.m4: New file. + * m4/logl.m4: New file. + * m4/sinl.m4: New file. + * m4/sqrtl.m4: New file. + * m4/tanl.m4: New file. + * m4/mathl.m4: Remove file. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_* and HAVE_* + variables for acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl. + Don't initialize GNULIB_MATHL. + * modules/acosl: New file. + * modules/asinl: New file. + * modules/atanl: New file. + * modules/cosl: New file. + * modules/expl: New file. + * modules/logl: New file. + * modules/sinl: New file. + * modules/sqrtl: New file. + * modules/tanl: New file. + * modules/math (Makefile.am): Substitute GNULIB_* and HAVE_* variables + for acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl. Don't + substitute GNULIB_MATHL. + * modules/mathl: Rewritten. + * doc/posix-functions/acosl.texi: Mention the 'acosl' module. + * doc/posix-functions/asinl.texi: Mention the 'asinl' module. + * doc/posix-functions/atanl.texi: Mention the 'atanl' module. + * doc/posix-functions/cosl.texi: Mention the 'cosl' module. + * doc/posix-functions/expl.texi: Mention the 'expl' module. + * doc/posix-functions/logl.texi: Mention the 'logl' module. + * doc/posix-functions/sinl.texi: Mention the 'sinl' module. + * doc/posix-functions/sqrtl.texi: Mention the 'sqrtl' module. + * doc/posix-functions/tanl.texi: Mention the 'tanl' module. + +2010-01-18 Bruno Haible + + sqrt: Make gl_FUNC_SQRT requirable. + * m4/sqrt.m4: New file. + * modules/sqrt (Files): Add it. + (configure.ac): Invoke gl_FUNC_SQRT. + +2010-01-18 Bruno Haible + + New modules for common functions. + * m4/mathfunc.m4: New file. + * modules/acos: New file. + * modules/asin: New file. + * modules/atan: New file. + * modules/atan2: New file. + * modules/cbrt: New file. + * modules/copysign: New file. + * modules/cos: New file. + * modules/cosh: New file. + * modules/erf: New file. + * modules/erfc: New file. + * modules/exp: New file. + * modules/fabs: New file. + * modules/fmod: New file. + * modules/hypot: New file. + * modules/j0: New file. + * modules/j1: New file. + * modules/jn: New file. + * modules/ldexp: New file. + * modules/lgamma: New file. + * modules/log: New file. + * modules/log10: New file. + * modules/log1p: New file. + * modules/logb: New file. + * modules/modf: New file. + * modules/nextafter: New file. + * modules/pow: New file. + * modules/remainder: New file. + * modules/rint: New file. + * modules/sin: New file. + * modules/sinh: New file. + * modules/sqrt: New file. + * modules/tan: New file. + * modules/tanh: New file. + * modules/y0: New file. + * modules/y1: New file. + * modules/yn: New file. + * doc/posix-functions/acos.texi: Mention the 'acos' module. + * doc/posix-functions/asin.texi: Mention the 'asin' module. + * doc/posix-functions/atan.texi: Mention the 'atan' module. + * doc/posix-functions/atan2.texi: Mention the 'atan2' module. + * doc/posix-functions/cbrt.texi: Mention the 'cbrt' module. + * doc/posix-functions/copysign.texi: Mention the 'copysign' module. + * doc/posix-functions/cos.texi: Mention the 'cos' module. + * doc/posix-functions/cosh.texi: Mention the 'cosh' module. + * doc/posix-functions/erf.texi: Mention the 'erf' module. + * doc/posix-functions/erfc.texi: Mention the 'erfc' module. + * doc/posix-functions/exp.texi: Mention the 'exp' module. + * doc/posix-functions/fabs.texi: Mention the 'fabs' module. + * doc/posix-functions/fmod.texi: Mention the 'fmod' module. + * doc/posix-functions/hypot.texi: Mention the 'hypot' module. + * doc/posix-functions/j0.texi: Mention the 'j0' module. + * doc/posix-functions/j1.texi: Mention the 'j1' module. + * doc/posix-functions/jn.texi: Mention the 'jn' module. + * doc/posix-functions/ldexp.texi: Mention the 'ldexp' module. + * doc/posix-functions/lgamma.texi: Mention the 'lgamma' module. + * doc/posix-functions/log.texi: Mention the 'log' module. + * doc/posix-functions/log10.texi: Mention the 'log10' module. + * doc/posix-functions/log1p.texi: Mention the 'log1p' module. + * doc/posix-functions/logb.texi: Mention the 'logb' module. + * doc/posix-functions/modf.texi: Mention the 'modf' module. + * doc/posix-functions/nextafter.texi: Mention the 'nextafter' module. + * doc/posix-functions/pow.texi: Mention the 'pow' module. + * doc/posix-functions/remainder.texi: Mention the 'remainder' module. + * doc/posix-functions/rint.texi: Mention the 'rint' module. + * doc/posix-functions/sin.texi: Mention the 'sin' module. + * doc/posix-functions/sinh.texi: Mention the 'sinh' module. + * doc/posix-functions/sqrt.texi: Mention the 'sqrt' module. + * doc/posix-functions/tan.texi: Mention the 'tan' module. + * doc/posix-functions/tanh.texi: Mention the 'tanh' module. + * doc/posix-functions/y0.texi: Mention the 'y0' module. + * doc/posix-functions/y1.texi: Mention the 'y1' module. + * doc/posix-functions/yn.texi: Mention the 'yn' module. + +2010-01-18 Jim Meyering + + ignore-value: relax license to LGPLv2+ + * modules/ignore-value (License): Relax to LGPLv2+. + + getdate: don't leak when TZ contains two or more '"'s + * lib/getdate.y (get_date): Don't leak a copy of TZ for each + double quote in TZ after the first one. + + readtokens: do not leak internal token_lengths buffer + * lib/readtokens.c (readtokens): Free the local, lengths, + when the supplied "token_lengths" parameter is NULL. + +2010-01-17 Ralf Wildenhues + + Fix a couple of missing LIBTHREAD link failures on AIX. + * modules/git-merge-changelog (git_merge_changelog_LDADD): Add + $(LIBTHREAD). + * modules/strsignal-tests (test_strsignal_LDADD): Likewise. + + Link test-poll against INET_PTON_LIB. + * modules/poll-tests (test_poll_LDADD): Add $(INET_PTON_LIB), + for inet_pton on Solaris 10. + +2010-01-17 Bruno Haible + + unistdio/*-sprintf: Fix typo in module description. + * modules/unistdio/u8-sprintf (Depends-on): Fix typo. + * modules/unistdio/u8-u8-sprintf (Depends-on): Likewise. + * modules/unistdio/u16-sprintf (Depends-on): Likewise. + * modules/unistdio/u16-u16-sprintf (Depends-on): Likewise. + * modules/unistdio/u32-sprintf (Depends-on): Likewise. + * modules/unistdio/u32-u32-sprintf (Depends-on): Likewise. + * modules/unistdio/ulc-sprintf (Depends-on): Likewise. + Reported by Ralf Wildenhues . + +2010-01-17 Ralf Wildenhues + + gnulib-tool: fix filelist for AIX, HP-UX ksh. + * gnulib-tool (func_filter_filelist): Do not quote possibly-empty + variables in shell case patterns, for AIX and HP-UX ksh. + + Split large sed scripts, for HP-UX sed. + * modules/stdio: Split sed scripts around 50 sed commands, + to avoid HP-UX limit of 99 commands, in the near future. + * modules/string: Likewise. + * modules/unistd: Likewise. + + gnulib-tool: avoid writing in the current directory. + * gnulib-tool (func_emit_lib_Makefile_am) + (func_emit_tests_Makefile_am): Put temporary files in $tmp, + not in the current directory, so concurrent gnulib-tool + instances do not interfere. + +2010-01-16 Jim Meyering + + doc: update users.txt + * users.txt: Add grep. + (diffutils, gzip): Update URLs. + +2010-01-12 Bruno Haible + + posix_spawn: Avoid test failure on Cygwin. + * tests/test-posix_spawn3.c (DATA_FILENAME) [CYGWIN]: Use less risky + characters. + Reported by Simon Josefsson. + +2010-01-12 Bruno Haible + + * tests/test-cond.c (main): When skipping the test, show the reason. + +2010-01-12 Simon Josefsson + + * lib/striconv.c (str_cd_iconv): Avoid if before free. + +2010-01-12 Simon Josefsson + + * top/maint.mk (VC_LIST_EXCEPT): Filter list through + VC_LIST_ALWAYS_EXCLUDE_REGEX. + +2010-01-12 Eric Blake + + build: guarantee AS_VAR_IF + * m4/warnings.m4 (gl_WARN_ADD): Use autoconf name. + (gl_AS_VAR_IF): Move... + * m4/gnulib-common.m4 (AS_VAR_IF): ...here. + Reported by Simon Josefsson. + +2010-01-12 Simon Josefsson + + * lib/stdio.in.h: Fix typo. + +2010-01-12 Simon Josefsson + + * m4/gc.m4: Check if linking to libgcrypt also needs linking to + libgpg-error. + +2010-01-12 Simon Josefsson + + * tests/test-xalloc-die.sh: Use $EXEEXT. + +2010-01-12 Simon Josefsson + Bruno Haible + + getlogin, getlogin_r: Avoid test failure. + * tests/test-getlogin.c: Include . + (main): Skip the test when the function fails because stdin is not a + tty. + * tests/test-getlogin_r.c: Include . + (main): Skip the test when the function fails because stdin is not a + tty. + +2010-01-11 Eric Blake + + tests: avoid more large file warnings + * tests/test-fflush.c: Avoid warning about ftell use. + * tests/test-fseek.c: Avoid warning about fseek use. + 2010-01-10 Bruno Haible + nproc: Work better on Linux when /proc and /sys are not mounted. + * lib/nproc.c (num_processors): Use num_processors_via_affinity_mask () + as lower bound when, on glibc/Linux systems, + sysconf (_SC_NPROCESSORS_CONF) returns 1. + Suggested by Pádraig Brady . + Reported by Dmitry V. Levin . + + nproc: Refactor. + * lib/nproc.c (num_processors_via_affinity_mask): New function, + extracted from num_processors. + (num_processors): Call it. + +2010-01-11 Jim Meyering + + utimecmp: avoid new warning from upcoming gcc-4.5.0 + * lib/utimecmp.c (BILLION): Define using #define rather than an + anonymous enum, to placate upcoming gcc-4.5.0's -Wenum-compare. + +2010-01-11 Eric Blake + + math: add portability warnings for classification macros + * modules/math (Depends-on): Add warn-on-use. + (Makefile.am): Provide new substitutions. + * m4/math_h.m4 (gl_MATH_H): Require inline. + * lib/math.in.h (_GL_WARN_REAL_FLOATING_DECL) + (_GL_WARN_REAL_FLOATING_IMPL): New helper macros. + (isfinite, isinf, isnan, signbit) [GNULIB_POSIXCHECK]: Use them to + implement warnings. + + unistd: warn on use of environ without module + * modules/unistd (Depends-on): Add warn-on-use. + (Makefile.am): Provide new substitutions. + * m4/unistd_h.m4 (gl_UNISTD_H): Check for inline and environ. + * lib/unistd.in.h (environ): Wrap with a warning helper function. + + stdio: warn on suspicious uses + * modules/stdio (Depends-on): Add warn-on-use. + (Makefile.am): Provide new substitutions. + * m4/stdio_h.m4 (gl_STDIO_H): Check for inline, ftello, and + fseeko. + * lib/stdio.in.h (gets): Always warn on use. + (fseek, ftell): Adjust when warnings are issued, and honor + _GL_NO_LARGE_FILES as a way to silence the warning. + * tests/test-fpurge.c [!GNULIB_FSEEK]: Use new means to squelch + any warning about large file offsets. + * tests/test-freadable.c [!GNULIB_FSEEK]: Likewise. + * tests/test-freading.c [!GNULIB_FSEEK]: Likewise. + * tests/test-fseeko.c [!GNULIB_FSEEK]: Likewise. + * tests/test-ftell.c [!GNULIB_FSEEK]: Likewise. + * tests/test-ftello.c [!GNULIB_FSEEK]: Likewise. + * tests/test-fwritable.c [!GNULIB_FSEEK]: Likewise. + * tests/test-fwriting.c [!GNULIB_FSEEK]: Likewise. + * tests/test-getopt.c [!GNULIB_FTELL]: Likewise. + + warn-on-use: new module + * modules/warn-on-use: New file. + * build-aux/warn-on-use.h: Likewise. + * m4/warn-on-use.m4: Likewise. + * MODULES.html.sh (Support for building): Mention it. + +2010-01-10 Bruno Haible + + Tests for module 'unistr/u32-strdup'. + * modules/unistr/u32-strdup-tests: New file. + * tests/unistr/test-u32-strdup.c: New file. + + Tests for module 'unistr/u16-strdup'. + * modules/unistr/u16-strdup-tests: New file. + * tests/unistr/test-u16-strdup.c: New file. + + Tests for module 'unistr/u8-strdup'. + * modules/unistr/u8-strdup-tests: New file. + * tests/unistr/test-u8-strdup.c: New file. + * tests/unistr/test-strdup.h: New file. + + Tests for module 'unistr/u32-strncmp'. + * modules/unistr/u32-strncmp-tests: New file. + * tests/unistr/test-u32-strncmp.c: New file. + + Tests for module 'unistr/u16-strncmp'. + * modules/unistr/u16-strncmp-tests: New file. + * tests/unistr/test-u16-strncmp.c: New file. + + Tests for module 'unistr/u8-strncmp'. + * modules/unistr/u8-strncmp-tests: New file. + * tests/unistr/test-u8-strncmp.c: New file. + * tests/unistr/test-strncmp.h: New file. + + Tests for module 'unistr/u32-strcoll'. + * modules/unistr/u32-strcoll-tests: New file. + * tests/unistr/test-u32-strcoll.c: New file. + + Tests for module 'unistr/u16-strcoll'. + * modules/unistr/u16-strcoll-tests: New file. + * tests/unistr/test-u16-strcoll.c: New file. + + Tests for module 'unistr/u8-strcoll'. + * modules/unistr/u8-strcoll-tests: New file. + * tests/unistr/test-u8-strcoll.c: New file. + + Tests for module 'unistr/u32-strcmp'. + * modules/unistr/u32-strcmp-tests: New file. + * tests/unistr/test-u32-strcmp.c: New file. + * tests/unistr/test-u32-strcmp.h: New file. + + Tests for module 'unistr/u16-strcmp'. + * modules/unistr/u16-strcmp-tests: New file. + * tests/unistr/test-u16-strcmp.c: New file. + * tests/unistr/test-u16-strcmp.h: New file. + + Tests for module 'unistr/u8-strcmp'. + * modules/unistr/u8-strcmp-tests: New file. + * tests/unistr/test-u8-strcmp.c: New file. + * tests/unistr/test-u8-strcmp.h: New file. + * tests/unistr/test-strcmp.h: New file. + + Tests for module 'unistr/u32-strncat'. + * modules/unistr/u32-strncat-tests: New file. + * tests/unistr/test-u32-strncat.c: New file. + + Tests for module 'unistr/u16-strncat'. + * modules/unistr/u16-strncat-tests: New file. + * tests/unistr/test-u16-strncat.c: New file. + + Tests for module 'unistr/u8-strncat'. + * modules/unistr/u8-strncat-tests: New file. + * tests/unistr/test-u8-strncat.c: New file. + * tests/unistr/test-strncat.h: New file. + + Tests for module 'unistr/u32-strcat'. + * modules/unistr/u32-strcat-tests: New file. + * tests/unistr/test-u32-strcat.c: New file. + + Tests for module 'unistr/u16-strcat'. + * modules/unistr/u16-strcat-tests: New file. + * tests/unistr/test-u16-strcat.c: New file. + + Tests for module 'unistr/u8-strcat'. + * modules/unistr/u8-strcat-tests: New file. + * tests/unistr/test-u8-strcat.c: New file. + * tests/unistr/test-strcat.h: New file. + + Tests for module 'unistr/u32-stpncpy'. + * modules/unistr/u32-stpncpy-tests: New file. + * tests/unistr/test-u32-stpncpy.c: New file. + + Tests for module 'unistr/u16-stpncpy'. + * modules/unistr/u16-stpncpy-tests: New file. + * tests/unistr/test-u16-stpncpy.c: New file. + + Tests for module 'unistr/u8-stpncpy'. + * modules/unistr/u8-stpncpy-tests: New file. + * tests/unistr/test-u8-stpncpy.c: New file. + * tests/unistr/test-stpncpy.h: New file. + Tests for module 'unistr/u32-strncpy'. * modules/unistr/u32-strncpy-tests: New file. * tests/unistr/test-u32-strncpy.c: New file.