+2010-01-18 Bruno Haible <bruno@clisp.org>
+
+ New modules for common <math.h> 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 <meyering@redhat.com>
+
+ 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 <Ralf.Wildenhues@gmx.de>
+
+ 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 <bruno@clisp.org>
+
+ 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 <Ralf.Wildenhues@gmx.de>.
+
+2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ 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 <meyering@redhat.com>
+
+ doc: update users.txt
+ * users.txt: Add grep.
+ (diffutils, gzip): Update URLs.
+
+2010-01-12 Bruno Haible <bruno@clisp.org>
+
+ 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 <bruno@clisp.org>
+
+ * tests/test-cond.c (main): When skipping the test, show the reason.
+
+2010-01-12 Simon Josefsson <simon@josefsson.org>
+
+ * lib/striconv.c (str_cd_iconv): Avoid if before free.
+
+2010-01-12 Simon Josefsson <simon@josefsson.org>
+
+ * top/maint.mk (VC_LIST_EXCEPT): Filter list through
+ VC_LIST_ALWAYS_EXCLUDE_REGEX.
+
+2010-01-12 Eric Blake <ebb9@byu.net>
+
+ 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 <simon@josefsson.org>
+
+ * lib/stdio.in.h: Fix typo.
+
+2010-01-12 Simon Josefsson <simon@josefsson.org>
+
+ * m4/gc.m4: Check if linking to libgcrypt also needs linking to
+ libgpg-error.
+
+2010-01-12 Simon Josefsson <simon@josefsson.org>
+
+ * tests/test-xalloc-die.sh: Use $EXEEXT.
+
+2010-01-12 Simon Josefsson <simon@josefsson.org>
+ Bruno Haible <bruno@clisp.org>
+
+ getlogin, getlogin_r: Avoid test failure.
+ * tests/test-getlogin.c: Include <stdio.h>.
+ (main): Skip the test when the function fails because stdin is not a
+ tty.
+ * tests/test-getlogin_r.c: Include <stdio.h>.
+ (main): Skip the test when the function fails because stdin is not a
+ tty.
+
+2010-01-11 Eric Blake <ebb9@byu.net>
+
+ 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 <bruno@clisp.org>
+ 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 <P@draigbrady.com>.
+ Reported by Dmitry V. Levin <ldv@altlinux.org>.
+
+ 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 <meyering@redhat.com>
+
+ 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 <ebb9@byu.net>
+
+ 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 <bruno@clisp.org>
+
+ 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.
+
+ Tests for module 'unistr/u16-strncpy'.
+ * modules/unistr/u16-strncpy-tests: New file.
+ * tests/unistr/test-u16-strncpy.c: New file.
+
+ Tests for module 'unistr/u8-strncpy'.
+ * modules/unistr/u8-strncpy-tests: New file.
+ * tests/unistr/test-u8-strncpy.c: New file.
+ * tests/unistr/test-strncpy.h: New file.
+
+ Tests for module 'unistr/u32-stpcpy'.
+ * modules/unistr/u32-stpcpy-tests: New file.
+ * tests/unistr/test-u32-stpcpy.c: New file.
+
+ Tests for module 'unistr/u16-stpcpy'.
+ * modules/unistr/u16-stpcpy-tests: New file.
+ * tests/unistr/test-u16-stpcpy.c: New file.
+
+ Tests for module 'unistr/u8-stpcpy'.
+ * modules/unistr/u8-stpcpy-tests: New file.
+ * tests/unistr/test-u8-stpcpy.c: New file.
+ * tests/unistr/test-stpcpy.h: New file.
+
+ Tests for module 'unistr/u32-strcpy'.
+ * modules/unistr/u32-strcpy-tests: New file.
+ * tests/unistr/test-u32-strcpy.c: New file.
+
+ Tests for module 'unistr/u16-strcpy'.
+ * modules/unistr/u16-strcpy-tests: New file.
+ * tests/unistr/test-u16-strcpy.c: New file.
+
+ Tests for module 'unistr/u8-strcpy'.
+ * modules/unistr/u8-strcpy-tests: New file.
+ * tests/unistr/test-u8-strcpy.c: New file.
+ * tests/unistr/test-strcpy.h: New file.
+
+ Tests for module 'unistr/u32-strnlen'.
+ * modules/unistr/u32-strnlen-tests: New file.
+ * tests/unistr/test-u32-strnlen.c: New file.
+
+ Tests for module 'unistr/u16-strnlen'.
+ * modules/unistr/u16-strnlen-tests: New file.
+ * tests/unistr/test-u16-strnlen.c: New file.
+
+ Tests for module 'unistr/u8-strnlen'.
+ * modules/unistr/u8-strnlen-tests: New file.
+ * tests/unistr/test-u8-strnlen.c: New file.
+ * tests/unistr/test-strnlen.h: New file.
+
+ Tests for module 'unistr/u32-strlen'.
+ * modules/unistr/u32-strlen-tests: New file.
+ * tests/unistr/test-u32-strlen.c: New file.
+
+ Tests for module 'unistr/u16-strlen'.
+ * modules/unistr/u16-strlen-tests: New file.
+ * tests/unistr/test-u16-strlen.c: New file.
+
+ Tests for module 'unistr/u8-strlen'.
+ * modules/unistr/u8-strlen-tests: New file.
+ * tests/unistr/test-u8-strlen.c: New file.
+
+ Tests for module 'unistr/u32-prev'.
+ * modules/unistr/u32-prev-tests: New file.
+ * tests/unistr/test-u32-prev.c: New file.
+
+ Tests for module 'unistr/u16-prev'.
+ * modules/unistr/u16-prev-tests: New file.
+ * tests/unistr/test-u16-prev.c: New file.
+
+ Tests for module 'unistr/u8-prev'.
+ * modules/unistr/u8-prev-tests: New file.
+ * tests/unistr/test-u8-prev.c: New file.
+
+ Tests for module 'unistr/u32-next'.
+ * modules/unistr/u32-next-tests: New file.
+ * tests/unistr/test-u32-next.c: New file.
+
+ Tests for module 'unistr/u16-next'.
+ * modules/unistr/u16-next-tests: New file.
+ * tests/unistr/test-u16-next.c: New file.
+
Tests for module 'unistr/u8-next'.
* modules/unistr/u8-next-tests: New file.
* tests/unistr/test-u8-next.c: New file.