gnulib.git
14 years agoautoupdate
Karl Berry [Thu, 28 Jan 2010 15:16:59 +0000 (07:16 -0800)]
autoupdate

14 years agoregex: fix build failure
Eric Blake [Thu, 28 Jan 2010 13:46:05 +0000 (06:46 -0700)]
regex: fix build failure

* lib/regex_internal.h (__GNUC_PREREQ): Define for non-glibc
platforms.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agoregex: do not ignore memory allocation failure
Jim Meyering [Tue, 19 Jan 2010 14:13:16 +0000 (15:13 +0100)]
regex: do not ignore memory allocation failure

* lib/regex_internal.c (create_cd_newstate): Detect
re_node_set_init_copy failure.   Extracted from glibc commit
2da42bc06566bc89785e580fa1ac89b4c9f2a63c.

14 years agoregex: sync more white-space changes from libc
Jim Meyering [Tue, 19 Jan 2010 14:04:37 +0000 (15:04 +0100)]
regex: sync more white-space changes from libc

* lib/regex_internal.c: White-space only changes.
* lib/regexec.c: Likewise.

14 years agoregex: add many uses of __attribute_warn_unused_result__
Jim Meyering [Tue, 19 Jan 2010 12:44:26 +0000 (13:44 +0100)]
regex: add many uses of __attribute_warn_unused_result__

* lib/regex_internal.c: Use __attribute_warn_unused_result__.
* lib/regexec.c: Likewise.
Extracted from a messy glibc commit.

14 years agoregcomp.c: spelling and merge-artifact from glibc
Jim Meyering [Tue, 19 Jan 2010 08:23:51 +0000 (09:23 +0100)]
regcomp.c: spelling and merge-artifact from glibc

* lib/regcomp.c: Merge remainder of glibc's
2da42bc06566bc89785e580fa1ac89b4c9f2a63c.

14 years agoregcomp.c: sync white-space changes from glibc
Jim Meyering [Tue, 19 Jan 2010 08:22:30 +0000 (09:22 +0100)]
regcomp.c: sync white-space changes from glibc

* lib/regcomp.c: Merge to accommodate white space
changes from glibc's 2da42bc06566bc89785e580fa1ac89b4c9f2a63c.

14 years agoregcomp.c: do not ignore internal return values
Jim Meyering [Tue, 19 Jan 2010 08:18:19 +0000 (09:18 +0100)]
regcomp.c: do not ignore internal return values

* lib/regcomp.c: Do not ignore internal return values.
This is from glibc's 2da42bc06566bc89785e580fa1ac89b4c9f2a63c,
but without its white-space changes and spelling fixes.

14 years agoregex_internal.h: define __attribute_warn_unused_result__
Jim Meyering [Tue, 19 Jan 2010 07:47:17 +0000 (08:47 +0100)]
regex_internal.h: define __attribute_warn_unused_result__

* lib/regex_internal.h (__attribute_warn_unused_result__): Define.

14 years agomaint: add a syntax-check rule to check for vulnerable Makefile.in
Jim Meyering [Thu, 28 Jan 2010 08:37:12 +0000 (09:37 +0100)]
maint: add a syntax-check rule to check for vulnerable Makefile.in

* top/maint.mk (sc_vulnerable_makefile_CVE-2009-4029): New rule.

14 years agoncftpput-ftp: clean up spaces
Jim Meyering [Wed, 27 Jan 2010 18:58:30 +0000 (19:58 +0100)]
ncftpput-ftp: clean up spaces

* build-aux/ncftpput-ftp: Make Copyright line consistent.
Remove trailing blanks.

14 years agomaint: normalize copyright notices
Jim Meyering [Wed, 27 Jan 2010 16:12:30 +0000 (17:12 +0100)]
maint: normalize copyright notices

Normalize some copyright comments: change the two spaces before
"Free Software..." to one:

  git grep -l -E '[0-9]{4}   *Free Software' \
    | xargs perl -pi -e 's/  +(Free Software)/ $1/'

14 years agobuild-aux/ncftpput-ftp: Fix copyright statement.
Simon Josefsson [Wed, 27 Jan 2010 16:11:58 +0000 (17:11 +0100)]
build-aux/ncftpput-ftp: Fix copyright statement.

14 years agoFix last commit.
Simon Josefsson [Wed, 27 Jan 2010 15:56:30 +0000 (16:56 +0100)]
Fix last commit.

14 years agoFix copyright statement.
Simon Josefsson [Wed, 27 Jan 2010 15:13:04 +0000 (16:13 +0100)]
Fix copyright statement.

14 years agoignore-value: update recommended header name
Eric Blake [Mon, 25 Jan 2010 22:42:55 +0000 (15:42 -0700)]
ignore-value: update recommended header name

* modules/ignore-value (Include): Only use <> for headers that
exist in glibc.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agotest-userspec.c: avoid compiler warnings
Jim Meyering [Tue, 26 Jan 2010 08:51:26 +0000 (09:51 +0100)]
test-userspec.c: avoid compiler warnings

* tests/test-userspec.c (main): Avoid shadowing ("uid"),
and "initialization discards qualifiers..." warnings.
Put the first "uid" in its own scope, and make char* members "const".

14 years agognulib-tool: Make warning diagnostics consistent.
Bruno Haible [Mon, 25 Jan 2010 21:37:52 +0000 (22:37 +0100)]
gnulib-tool: Make warning diagnostics consistent.

14 years agoFix test dependencies.
Bruno Haible [Mon, 25 Jan 2010 21:12:37 +0000 (22:12 +0100)]
Fix test dependencies.

14 years agoautoupdate
Karl Berry [Mon, 25 Jan 2010 15:27:04 +0000 (07:27 -0800)]
autoupdate

14 years agosyntax-check: detect incorrect boolean macro values in config.h
Pádraig Brady [Mon, 25 Jan 2010 10:55:34 +0000 (10:55 +0000)]
syntax-check: detect incorrect boolean macro values in config.h

* modules/maintainer-makefile (configure.ac): Parameterize the location
of config.h which will be available to makefiles as $(CONFIG_INCLUDE).
The logic is from Eric Blake and the location indicated by Jim Meyering.
Note the more natural CONFIG_HEADER name is prohibited by automake
for backwards compatibility reasons.
* top/maint.mk (sc_Wundef_boolean): New rule.

14 years agobootstrap: detect MacOS 10.6's shasum, too
Jim Meyering [Mon, 25 Jan 2010 11:54:12 +0000 (12:54 +0100)]
bootstrap: detect MacOS 10.6's shasum, too

* build-aux/bootstrap: Also recognize MacOS 10.6's shasum.
Suggested by Thomas Treichl <Thomas.Treichl@gmx.net>.

14 years agoxstrtoll: new module
Jim Meyering [Sat, 23 Jan 2010 10:52:44 +0000 (11:52 +0100)]
xstrtoll: new module

* modules/xstrtoll: New file.
* MODULES.html.sh (Numeric conversion functions): Add xstrtoll.
* lib/xstrtol.h [HAVE_LONG_LONG_INT]: Declare xstrtoll and xstrtoull.
* lib/xstrtoll.c, lib/xstrtoull.c: New files.
./configure fails if you use this module and lack "long long".
* modules/xstrtoll-tests: New module.
* tests/test-xstrtoll.c, tests/test-xstrtoull.c: New files.
* tests/test-xstrtoll.sh: Like test-xstrtol.c, but use the
new init.sh-based test framework.

14 years agoTests for module 'yn'.
Bruno Haible [Mon, 25 Jan 2010 01:23:02 +0000 (02:23 +0100)]
Tests for module 'yn'.

14 years agoTests for module 'y1'.
Bruno Haible [Mon, 25 Jan 2010 01:22:36 +0000 (02:22 +0100)]
Tests for module 'y1'.

14 years agoTests for module 'y0'.
Bruno Haible [Mon, 25 Jan 2010 01:22:15 +0000 (02:22 +0100)]
Tests for module 'y0'.

14 years agoTests for module 'tanh'.
Bruno Haible [Mon, 25 Jan 2010 01:21:44 +0000 (02:21 +0100)]
Tests for module 'tanh'.

14 years agoTests for module 'tan'.
Bruno Haible [Mon, 25 Jan 2010 01:21:20 +0000 (02:21 +0100)]
Tests for module 'tan'.

14 years agoTests for module 'sqrt'.
Bruno Haible [Mon, 25 Jan 2010 01:20:52 +0000 (02:20 +0100)]
Tests for module 'sqrt'.

14 years agoTests for module 'sinh'.
Bruno Haible [Mon, 25 Jan 2010 01:20:23 +0000 (02:20 +0100)]
Tests for module 'sinh'.

14 years agoTests for module 'sin'.
Bruno Haible [Mon, 25 Jan 2010 01:19:58 +0000 (02:19 +0100)]
Tests for module 'sin'.

14 years agoTests for module 'rint'.
Bruno Haible [Mon, 25 Jan 2010 01:19:20 +0000 (02:19 +0100)]
Tests for module 'rint'.

14 years agoTests for module 'remainder'.
Bruno Haible [Mon, 25 Jan 2010 01:18:51 +0000 (02:18 +0100)]
Tests for module 'remainder'.

14 years agoTests for module 'pow'.
Bruno Haible [Mon, 25 Jan 2010 01:18:19 +0000 (02:18 +0100)]
Tests for module 'pow'.

14 years agoTests for module 'nextafter'.
Bruno Haible [Mon, 25 Jan 2010 01:13:03 +0000 (02:13 +0100)]
Tests for module 'nextafter'.

14 years agoTests for module 'modf'.
Bruno Haible [Mon, 25 Jan 2010 01:14:54 +0000 (02:14 +0100)]
Tests for module 'modf'.

14 years agoTests for module 'logb'.
Bruno Haible [Mon, 25 Jan 2010 01:11:59 +0000 (02:11 +0100)]
Tests for module 'logb'.

14 years agoTests for module 'log1p'.
Bruno Haible [Mon, 25 Jan 2010 01:11:30 +0000 (02:11 +0100)]
Tests for module 'log1p'.

14 years agoTests for module 'log10'.
Bruno Haible [Mon, 25 Jan 2010 01:11:05 +0000 (02:11 +0100)]
Tests for module 'log10'.

14 years agoTests for module 'log'.
Bruno Haible [Mon, 25 Jan 2010 01:10:37 +0000 (02:10 +0100)]
Tests for module 'log'.

14 years agoTests for module 'lgamma'.
Bruno Haible [Mon, 25 Jan 2010 01:10:07 +0000 (02:10 +0100)]
Tests for module 'lgamma'.

14 years agoTests for module 'ldexp'.
Bruno Haible [Mon, 25 Jan 2010 01:09:33 +0000 (02:09 +0100)]
Tests for module 'ldexp'.

14 years agoTests for module 'jn'.
Bruno Haible [Mon, 25 Jan 2010 01:09:02 +0000 (02:09 +0100)]
Tests for module 'jn'.

14 years agoTests for module 'j1'.
Bruno Haible [Mon, 25 Jan 2010 01:08:40 +0000 (02:08 +0100)]
Tests for module 'j1'.

14 years agoTests for module 'j0'.
Bruno Haible [Mon, 25 Jan 2010 01:06:54 +0000 (02:06 +0100)]
Tests for module 'j0'.

14 years agoTests for module 'hypot'.
Bruno Haible [Mon, 25 Jan 2010 01:06:16 +0000 (02:06 +0100)]
Tests for module 'hypot'.

14 years agoTests for module 'fmod'.
Bruno Haible [Mon, 25 Jan 2010 01:05:37 +0000 (02:05 +0100)]
Tests for module 'fmod'.

14 years agoTests for module 'fabs'.
Bruno Haible [Mon, 25 Jan 2010 01:05:08 +0000 (02:05 +0100)]
Tests for module 'fabs'.

14 years agoTests for module 'exp'.
Bruno Haible [Mon, 25 Jan 2010 01:04:39 +0000 (02:04 +0100)]
Tests for module 'exp'.

14 years agoTests for module 'erfc'.
Bruno Haible [Mon, 25 Jan 2010 01:04:08 +0000 (02:04 +0100)]
Tests for module 'erfc'.

14 years agoTests for module 'erf'.
Bruno Haible [Mon, 25 Jan 2010 01:03:44 +0000 (02:03 +0100)]
Tests for module 'erf'.

14 years agoTests for module 'cosh'.
Bruno Haible [Mon, 25 Jan 2010 01:03:14 +0000 (02:03 +0100)]
Tests for module 'cosh'.

14 years agoTests for module 'cos'.
Bruno Haible [Mon, 25 Jan 2010 01:02:48 +0000 (02:02 +0100)]
Tests for module 'cos'.

14 years agoTests for module 'copysign'.
Bruno Haible [Mon, 25 Jan 2010 01:02:13 +0000 (02:02 +0100)]
Tests for module 'copysign'.

14 years agoTests for module 'cbrt'.
Bruno Haible [Mon, 25 Jan 2010 01:01:40 +0000 (02:01 +0100)]
Tests for module 'cbrt'.

14 years agoTests for module 'atan2'.
Bruno Haible [Mon, 25 Jan 2010 01:01:07 +0000 (02:01 +0100)]
Tests for module 'atan2'.

14 years agoTests for module 'atan'.
Bruno Haible [Mon, 25 Jan 2010 01:00:44 +0000 (02:00 +0100)]
Tests for module 'atan'.

14 years agoTests for module 'asin'.
Bruno Haible [Mon, 25 Jan 2010 01:00:14 +0000 (02:00 +0100)]
Tests for module 'asin'.

14 years agoTests for module 'acos'.
Bruno Haible [Mon, 25 Jan 2010 00:59:30 +0000 (01:59 +0100)]
Tests for module 'acos'.

14 years agoFix tests for common <math.h> functions.
Bruno Haible [Mon, 25 Jan 2010 00:57:08 +0000 (01:57 +0100)]
Fix tests for common <math.h> functions.

14 years agoTests: Defeat inlining of math functions by GCC >= 4.3.0.
Bruno Haible [Sun, 24 Jan 2010 20:22:00 +0000 (21:22 +0100)]
Tests: Defeat inlining of math functions by GCC >= 4.3.0.

14 years agoProvide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.
Bruno Haible [Sun, 24 Jan 2010 16:42:21 +0000 (17:42 +0100)]
Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.

14 years agoMore documentation.
Bruno Haible [Sun, 24 Jan 2010 15:33:46 +0000 (16:33 +0100)]
More documentation.

14 years agomaint.mk: do not prepend "./" after filtering
Jim Meyering [Sun, 24 Jan 2010 13:24:00 +0000 (14:24 +0100)]
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 ".".

14 years agodefine STREQ(a,b) consistently, removing useless parentheses
Jim Meyering [Sun, 24 Jan 2010 10:31:42 +0000 (11:31 +0100)]
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.

14 years agomaint.mk: fix syntax-check in a non-srcdir build directory
Jim Meyering [Sat, 23 Jan 2010 21:08:55 +0000 (22:08 +0100)]
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.

14 years agoautoupdate
Karl Berry [Sat, 23 Jan 2010 14:06:31 +0000 (06:06 -0800)]
autoupdate

14 years agouserspec-tests: test the userspec module
Jim Meyering [Sat, 28 Nov 2009 10:51:08 +0000 (11:51 +0100)]
userspec-tests: test the userspec module

* tests/test-userspec.c: New file.
* modules/userspec-tests: Likewise.

14 years agomaint.mk: make VC_LIST_EXCEPT robustly handle a srcdir containing "."
Jim Meyering [Thu, 21 Jan 2010 15:47:34 +0000 (16:47 +0100)]
maint.mk: make VC_LIST_EXCEPT robustly handle a srcdir containing "."

* top/maint.mk (_dot_escaped_srcdir): Define.
(VC_LIST_EXCEPT): Use it in LHS of preprocessing sed substitution.

14 years agomaint.mk: fix VC_LIST_EXCEPT for srcdir != builddir
Jiri Denemark [Thu, 21 Jan 2010 13:23:17 +0000 (14:23 +0100)]
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.

14 years agowarn-on-use: use instead of link-warning
Eric Blake [Wed, 16 Dec 2009 23:20:28 +0000 (16:20 -0700)]
warn-on-use: use instead of link-warning

Each *.in.h file serves two purposes - provide enough self-contained
content to serve as a replacement for the system header regardless of
the user's compiler, and offer the developer the ability to detect any
gnulib modules that might have been inadvertantly excluded.  The
former requires independence from config.h, and routes everything
through a Makefile.am snippet that uses @@ substitution specific to
the modules that were in use, with details learned at configure time.

The latter works by poisoning anything that gnulib did not replace,
but which the developer had natively available, explaining why their
tests passed during development.  Poisoning relies on gcc features,
and requires manual triggering by adding -DGNULIB_POSIXCHECK to
CFLAGS; it assumes that <config.h> is properly included.  In fact, we
do not want to use @@ substitution for HAVE_DECL_* during poisoning,
because the warning is only relevant for the gnulib modules which were
not included, and thus where the m4 macros to set proper @@ values
have not been run.  Furthermore, we only need to poison interfaces
that already have a declaration; if something is not declared, then
the developer wouldn't have been able to link, so their code won't be
using the problematic interface in the first place.

* 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.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agoAvoid duplicate -lm.
Bruno Haible [Wed, 20 Jan 2010 10:55:20 +0000 (11:55 +0100)]
Avoid duplicate -lm.

14 years agolanginfo, nl_langinfo: Relicense under LGPLv2+.
Bruno Haible [Tue, 19 Jan 2010 23:57:54 +0000 (00:57 +0100)]
langinfo, nl_langinfo: Relicense under LGPLv2+.

14 years agoAvoid compilation error with cc on OSF/1 5.1.
Bruno Haible [Tue, 19 Jan 2010 10:17:18 +0000 (11:17 +0100)]
Avoid compilation error with cc on OSF/1 5.1.

14 years agoAvoid a link error due to the __printf__ symbol.
Bruno Haible [Tue, 19 Jan 2010 02:15:05 +0000 (03:15 +0100)]
Avoid a link error due to the __printf__ symbol.

14 years agoTests for module 'tanl'.
Bruno Haible [Tue, 19 Jan 2010 02:06:23 +0000 (03:06 +0100)]
Tests for module 'tanl'.

14 years agoTests for module 'sqrtl'.
Bruno Haible [Tue, 19 Jan 2010 02:05:50 +0000 (03:05 +0100)]
Tests for module 'sqrtl'.

14 years agoTests for module 'sinl'.
Bruno Haible [Tue, 19 Jan 2010 02:05:13 +0000 (03:05 +0100)]
Tests for module 'sinl'.

14 years agoTests for module 'logl'.
Bruno Haible [Tue, 19 Jan 2010 02:04:45 +0000 (03:04 +0100)]
Tests for module 'logl'.

14 years agoTests for module 'expl'.
Bruno Haible [Tue, 19 Jan 2010 02:03:59 +0000 (03:03 +0100)]
Tests for module 'expl'.

14 years agoTests for module 'cosl'.
Bruno Haible [Tue, 19 Jan 2010 02:03:31 +0000 (03:03 +0100)]
Tests for module 'cosl'.

14 years agoTests for module 'atanl'.
Bruno Haible [Tue, 19 Jan 2010 02:02:56 +0000 (03:02 +0100)]
Tests for module 'atanl'.

14 years agoTests for module 'asinl'.
Bruno Haible [Tue, 19 Jan 2010 02:02:25 +0000 (03:02 +0100)]
Tests for module 'asinl'.

14 years agoTests for module 'acosl'.
Bruno Haible [Tue, 19 Jan 2010 02:01:51 +0000 (03:01 +0100)]
Tests for module 'acosl'.

14 years agoNew modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Bruno Haible [Mon, 18 Jan 2010 00:27:33 +0000 (01:27 +0100)]
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.

14 years agosqrt: Make gl_FUNC_SQRT requirable.
Bruno Haible [Tue, 19 Jan 2010 00:50:01 +0000 (01:50 +0100)]
sqrt: Make gl_FUNC_SQRT requirable.

14 years agoNew modules for common <math.h> functions.
Bruno Haible [Tue, 19 Jan 2010 00:40:52 +0000 (01:40 +0100)]
New modules for common <math.h> functions.

14 years agoignore-value: relax license to LGPLv2+
Jim Meyering [Mon, 18 Jan 2010 10:49:16 +0000 (11:49 +0100)]
ignore-value: relax license to LGPLv2+

* modules/ignore-value (License): Relax to LGPLv2+.

14 years agogetdate: don't leak when TZ contains two or more '"'s
Jim Meyering [Mon, 18 Jan 2010 07:23:24 +0000 (08:23 +0100)]
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.

14 years agoreadtokens: do not leak internal token_lengths buffer
Jim Meyering [Mon, 18 Jan 2010 07:10:07 +0000 (08:10 +0100)]
readtokens: do not leak internal token_lengths buffer

* lib/readtokens.c (readtokens): Free the local, lengths,
when the supplied "token_lengths" parameter is NULL.

14 years agoFix a couple of missing LIBTHREAD link failures on AIX.
Ralf Wildenhues [Sun, 17 Jan 2010 07:29:09 +0000 (08:29 +0100)]
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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoLink test-poll against INET_PTON_LIB.
Ralf Wildenhues [Sun, 17 Jan 2010 11:34:01 +0000 (12:34 +0100)]
Link test-poll against INET_PTON_LIB.

* modules/poll-tests (test_poll_LDADD): Add $(INET_PTON_LIB),
for inet_pton on Solaris 10.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agounistdio/*-sprintf: Fix typo in module description.
Bruno Haible [Sun, 17 Jan 2010 11:45:36 +0000 (12:45 +0100)]
unistdio/*-sprintf: Fix typo in module description.

14 years agognulib-tool: fix filelist for AIX, HP-UX ksh.
Ralf Wildenhues [Sun, 17 Jan 2010 00:07:00 +0000 (01:07 +0100)]
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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoSplit large sed scripts, for HP-UX sed.
Ralf Wildenhues [Sat, 16 Jan 2010 19:30:58 +0000 (20:30 +0100)]
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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agognulib-tool: avoid writing in the current directory.
Ralf Wildenhues [Sat, 16 Jan 2010 17:15:09 +0000 (18:15 +0100)]
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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodoc: update users.txt
Jim Meyering [Sat, 16 Jan 2010 08:35:04 +0000 (09:35 +0100)]
doc: update users.txt

* users.txt: Add grep.
(diffutils, gzip): Update URLs.

14 years agoposix_spawn: Avoid test failure on Cygwin.
Bruno Haible [Tue, 12 Jan 2010 22:26:57 +0000 (23:26 +0100)]
posix_spawn: Avoid test failure on Cygwin.

14 years agocond: When skipping the test, show the reason.
Bruno Haible [Tue, 12 Jan 2010 22:12:00 +0000 (23:12 +0100)]
cond: When skipping the test, show the reason.

14 years agolib/striconv.c (str_cd_iconv): Avoid if before free.
Simon Josefsson [Tue, 12 Jan 2010 21:01:53 +0000 (22:01 +0100)]
lib/striconv.c (str_cd_iconv): Avoid if before free.