Sergey Poznyakoff [Fri, 5 Feb 2010 11:33:15 +0000 (13:33 +0200)]
Argp: fix recognition of short alias options.
* lib/argp-parse.c (convert_options): Fix improper use of
`|' between character values.
* tests/test-argp.c (group1_option): New alias option
--read (-r).
(group1_parser): Special handling for 'r'.
(test15): New test case.
(test_fun): Add test15.
* tests/test-argp-2.sh: Update expected --help and --usage
outputs.
Sergey Poznyakoff [Fri, 5 Feb 2010 11:06:53 +0000 (13:06 +0200)]
Fix indentation
* tests/test-argp.c: Fix indentation.
Eric Blake [Sat, 30 Jan 2010 14:47:40 +0000 (07:47 -0700)]
gettimeofday: expose type of second argument
Needed to silence compiler warnings such as:
test-gettimeofday.c:23: warning: initialization from incompatible pointer type
based on whether gettimeofday complies with POSIX or provides
the extension of struct timezone.
* m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY): Do better detection
of glibc extension signature, and define GETTIMEOFDAY_TIMEZONE.
* tests/test-gettimeofday.c: Use it to silence warning.
* doc/posix-functions/gettimeofday.texi (gettimeofday): Document
the issue.
Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering [Wed, 3 Feb 2010 17:01:36 +0000 (18:01 +0100)]
regcomp.c: avoid the sole warning from gcc's -Wtype-limits
* lib/regcomp.c (TYPE_SIGNED): Define.
(parse_dup_op): Use it to avoid the sole warning from -Wtype-limits.
Jim Meyering [Wed, 3 Feb 2010 16:15:03 +0000 (17:15 +0100)]
regcomp.c: avoid a new -Wshadow warning
* lib/regcomp.c (create_initial_state): Do not shadow local "err".
Jim Meyering [Tue, 19 Jan 2010 07:25:12 +0000 (08:25 +0100)]
ensure that the regexp [b-a] is diagnosed as invalid
* m4/regex.m4 (gl_REGEX): Ensure that re_compiler_pattern
diagnoses [b-a] as invalid when using RE_SYNTAX_POSIX_EGREP.
Currently, glibc-2.11.90-10 fails to do that.
Jim Meyering [Mon, 1 Feb 2010 18:05:26 +0000 (19:05 +0100)]
removing useless parentheses in cpp #define directives
For motivation, see commit
c0221df4, "define STREQ(a,b)
consistently, removing useless parentheses"
* lib/memcmp.c (CMP_LT_OR_GT): Remove useless parentheses.
* lib/mountlist.c (MNT_IGNORE): Likewise.
* lib/trim.h (trim, trim_trailing, trim_leading): Likewise.
Eric Blake [Sat, 30 Jan 2010 15:51:59 +0000 (08:51 -0700)]
sys_time: use link-warning
Modernize replacement header, to allow another GNULIB_POSIXCHECK
opportunity.
* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Split defaults...
(gl_HEADER_SYS_TIME_H_DEFAULTS): ...into new macro.
(gl_SYS_TIME_MODULE_INDICATOR): New macro.
* modules/sys_time (Depends-on): Add warn-on-use.
(Makefile.am): Always build replacement.
(configure.ac): Update substitutions.
* m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY)
(gl_FUNC_GETTIMEOFDAY_CLOBBER): Include defaults, and no longer
bother with SYS_TIME_H.
* modules/gettimeofday (configure.ac): Declare indicator.
* lib/sys_time.in.h (gettimeofday): Warn if gnulib module is not
in use.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Sat, 30 Jan 2010 14:44:38 +0000 (07:44 -0700)]
closein-tests: silence compiler warning
* tests/test-closein.c (main): Ignore fread result.
* modules/closein-tests (Depends-on): Add ignore-value.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Sat, 30 Jan 2010 14:37:11 +0000 (07:37 -0700)]
tests: silence warning about system return
Silence a compiler warning for platforms that mark system()
with attribute warn_unused_result.
* tests/test-areadlink-with-size.c (main): Ignore system result.
* tests/test-areadlink.c (main): Likewise.
* tests/test-areadlinkat-with-size.c (main): Likewise.
* tests/test-areadlinkat.c (main): Likewise.
* tests/test-canonicalize-lgpl.c (main): Likewise.
* tests/test-canonicalize.c (main): Likewise.
* tests/test-chown.c (main): Likewise.
* tests/test-fchownat.c (main): Likewise.
* tests/test-fdutimensat.c (main): Likewise.
* tests/test-fstatat.c (main): Likewise.
* tests/test-futimens.c (main): Likewise.
* tests/test-lchown.c (main): Likewise.
* tests/test-link.c (main): Likewise.
* tests/test-linkat.c (main): Likewise.
* tests/test-lstat.c (main): Likewise.
* tests/test-mkdir.c (main): Likewise.
* tests/test-mkdirat.c (main): Likewise.
* tests/test-mkfifo.c (main): Likewise.
* tests/test-mkfifoat.c (main): Likewise.
* tests/test-mknod.c (main): Likewise.
* tests/test-readlink.c (main): Likewise.
* tests/test-remove.c (main): Likewise.
* tests/test-rename.c (main): Likewise.
* tests/test-renameat.c (main): Likewise.
* tests/test-rmdir.c (main): Likewise.
* tests/test-symlink.c (main): Likewise.
* tests/test-symlinkat.c (main): Likewise.
* tests/test-unlink.c (main): Likewise.
* tests/test-unlinkat.c (main): Likewise.
* tests/test-utimens.c (main): Likewise.
* tests/test-utimensat.c (main): Likewise.
* modules/areadlink-tests (Depends-on): Add ignore-value.
* modules/areadlink-with-size-tests (Depends-on): Likewise.
* modules/areadlinkat-tests (Depends-on): Likewise.
* modules/areadlinkat-with-size-tests (Depends-on): Likewise.
* modules/canonicalize-lgpl-tests (Depends-on): Likewise.
* modules/canonicalize-tests (Depends-on): Likewise.
* modules/chown-tests (Depends-on): Likewise.
* modules/fdutimensat-tests (Depends-on): Likewise.
* modules/futimens-tests (Depends-on): Likewise.
* modules/lchown-tests (Depends-on): Likewise.
* modules/link-tests (Depends-on): Likewise.
* modules/linkat-tests (Depends-on): Likewise.
* modules/lstat-tests (Depends-on): Likewise.
* modules/mkdir-tests (Depends-on): Likewise.
* modules/mkfifo-tests (Depends-on): Likewise.
* modules/mkfifoat-tests (Depends-on): Likewise.
* modules/mknod-tests (Depends-on): Likewise.
* modules/openat-tests (Depends-on): Likewise.
* modules/readlink-tests (Depends-on): Likewise.
* modules/remove-tests (Depends-on): Likewise.
* modules/rename-tests (Depends-on): Likewise.
* modules/renameat-tests (Depends-on): Likewise.
* modules/rmdir-tests (Depends-on): Likewise.
* modules/symlink-tests (Depends-on): Likewise.
* modules/symlinkat-tests (Depends-on): Likewise.
* modules/unlink-tests (Depends-on): Likewise.
* modules/utimens-tests (Depends-on): Likewise.
* modules/utimensat-tests (Depends-on): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible [Sun, 31 Jan 2010 18:40:17 +0000 (19:40 +0100)]
Perform the same test for many <math.h> functions.
Bruno Haible [Sun, 31 Jan 2010 16:57:07 +0000 (17:57 +0100)]
Undo last commit. Add comment instead.
Bruno Haible [Sun, 31 Jan 2010 16:43:25 +0000 (17:43 +0100)]
Work around getdelim() bug on FreeBSD 8.0.
Bruno Haible [Sun, 31 Jan 2010 16:32:22 +0000 (17:32 +0100)]
Avoid redundant symbol replacement.
Bruno Haible [Sun, 31 Jan 2010 16:30:24 +0000 (17:30 +0100)]
Work around getline() bug on FreeBSD 8.0.
Karl Berry [Thu, 28 Jan 2010 15:16:59 +0000 (07:16 -0800)]
autoupdate
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>
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.
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.
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.
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.
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.
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.
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.
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.
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.
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/'
Simon Josefsson [Wed, 27 Jan 2010 16:11:58 +0000 (17:11 +0100)]
build-aux/ncftpput-ftp: Fix copyright statement.
Simon Josefsson [Wed, 27 Jan 2010 15:56:30 +0000 (16:56 +0100)]
Fix last commit.
Simon Josefsson [Wed, 27 Jan 2010 15:13:04 +0000 (16:13 +0100)]
Fix copyright statement.
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>
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".
Bruno Haible [Mon, 25 Jan 2010 21:37:52 +0000 (22:37 +0100)]
gnulib-tool: Make warning diagnostics consistent.
Bruno Haible [Mon, 25 Jan 2010 21:12:37 +0000 (22:12 +0100)]
Fix test dependencies.
Karl Berry [Mon, 25 Jan 2010 15:27:04 +0000 (07:27 -0800)]
autoupdate
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.
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>.
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.
Bruno Haible [Mon, 25 Jan 2010 01:23:02 +0000 (02:23 +0100)]
Tests for module 'yn'.
Bruno Haible [Mon, 25 Jan 2010 01:22:36 +0000 (02:22 +0100)]
Tests for module 'y1'.
Bruno Haible [Mon, 25 Jan 2010 01:22:15 +0000 (02:22 +0100)]
Tests for module 'y0'.
Bruno Haible [Mon, 25 Jan 2010 01:21:44 +0000 (02:21 +0100)]
Tests for module 'tanh'.
Bruno Haible [Mon, 25 Jan 2010 01:21:20 +0000 (02:21 +0100)]
Tests for module 'tan'.
Bruno Haible [Mon, 25 Jan 2010 01:20:52 +0000 (02:20 +0100)]
Tests for module 'sqrt'.
Bruno Haible [Mon, 25 Jan 2010 01:20:23 +0000 (02:20 +0100)]
Tests for module 'sinh'.
Bruno Haible [Mon, 25 Jan 2010 01:19:58 +0000 (02:19 +0100)]
Tests for module 'sin'.
Bruno Haible [Mon, 25 Jan 2010 01:19:20 +0000 (02:19 +0100)]
Tests for module 'rint'.
Bruno Haible [Mon, 25 Jan 2010 01:18:51 +0000 (02:18 +0100)]
Tests for module 'remainder'.
Bruno Haible [Mon, 25 Jan 2010 01:18:19 +0000 (02:18 +0100)]
Tests for module 'pow'.
Bruno Haible [Mon, 25 Jan 2010 01:13:03 +0000 (02:13 +0100)]
Tests for module 'nextafter'.
Bruno Haible [Mon, 25 Jan 2010 01:14:54 +0000 (02:14 +0100)]
Tests for module 'modf'.
Bruno Haible [Mon, 25 Jan 2010 01:11:59 +0000 (02:11 +0100)]
Tests for module 'logb'.
Bruno Haible [Mon, 25 Jan 2010 01:11:30 +0000 (02:11 +0100)]
Tests for module 'log1p'.
Bruno Haible [Mon, 25 Jan 2010 01:11:05 +0000 (02:11 +0100)]
Tests for module 'log10'.
Bruno Haible [Mon, 25 Jan 2010 01:10:37 +0000 (02:10 +0100)]
Tests for module 'log'.
Bruno Haible [Mon, 25 Jan 2010 01:10:07 +0000 (02:10 +0100)]
Tests for module 'lgamma'.
Bruno Haible [Mon, 25 Jan 2010 01:09:33 +0000 (02:09 +0100)]
Tests for module 'ldexp'.
Bruno Haible [Mon, 25 Jan 2010 01:09:02 +0000 (02:09 +0100)]
Tests for module 'jn'.
Bruno Haible [Mon, 25 Jan 2010 01:08:40 +0000 (02:08 +0100)]
Tests for module 'j1'.
Bruno Haible [Mon, 25 Jan 2010 01:06:54 +0000 (02:06 +0100)]
Tests for module 'j0'.
Bruno Haible [Mon, 25 Jan 2010 01:06:16 +0000 (02:06 +0100)]
Tests for module 'hypot'.
Bruno Haible [Mon, 25 Jan 2010 01:05:37 +0000 (02:05 +0100)]
Tests for module 'fmod'.
Bruno Haible [Mon, 25 Jan 2010 01:05:08 +0000 (02:05 +0100)]
Tests for module 'fabs'.
Bruno Haible [Mon, 25 Jan 2010 01:04:39 +0000 (02:04 +0100)]
Tests for module 'exp'.
Bruno Haible [Mon, 25 Jan 2010 01:04:08 +0000 (02:04 +0100)]
Tests for module 'erfc'.
Bruno Haible [Mon, 25 Jan 2010 01:03:44 +0000 (02:03 +0100)]
Tests for module 'erf'.
Bruno Haible [Mon, 25 Jan 2010 01:03:14 +0000 (02:03 +0100)]
Tests for module 'cosh'.
Bruno Haible [Mon, 25 Jan 2010 01:02:48 +0000 (02:02 +0100)]
Tests for module 'cos'.
Bruno Haible [Mon, 25 Jan 2010 01:02:13 +0000 (02:02 +0100)]
Tests for module 'copysign'.
Bruno Haible [Mon, 25 Jan 2010 01:01:40 +0000 (02:01 +0100)]
Tests for module 'cbrt'.
Bruno Haible [Mon, 25 Jan 2010 01:01:07 +0000 (02:01 +0100)]
Tests for module 'atan2'.
Bruno Haible [Mon, 25 Jan 2010 01:00:44 +0000 (02:00 +0100)]
Tests for module 'atan'.
Bruno Haible [Mon, 25 Jan 2010 01:00:14 +0000 (02:00 +0100)]
Tests for module 'asin'.
Bruno Haible [Mon, 25 Jan 2010 00:59:30 +0000 (01:59 +0100)]
Tests for module 'acos'.
Bruno Haible [Mon, 25 Jan 2010 00:57:08 +0000 (01:57 +0100)]
Fix tests for common <math.h> functions.
Bruno Haible [Sun, 24 Jan 2010 20:22:00 +0000 (21:22 +0100)]
Tests: Defeat inlining of math functions by GCC >= 4.3.0.
Bruno Haible [Sun, 24 Jan 2010 16:42:21 +0000 (17:42 +0100)]
Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.
Bruno Haible [Sun, 24 Jan 2010 15:33:46 +0000 (16:33 +0100)]
More documentation.
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 ".".
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.
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.
Karl Berry [Sat, 23 Jan 2010 14:06:31 +0000 (06:06 -0800)]
autoupdate
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.
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.
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.
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>
Bruno Haible [Wed, 20 Jan 2010 10:55:20 +0000 (11:55 +0100)]
Avoid duplicate -lm.
Bruno Haible [Tue, 19 Jan 2010 23:57:54 +0000 (00:57 +0100)]
langinfo, nl_langinfo: Relicense under LGPLv2+.
Bruno Haible [Tue, 19 Jan 2010 10:17:18 +0000 (11:17 +0100)]
Avoid compilation error with cc on OSF/1 5.1.
Bruno Haible [Tue, 19 Jan 2010 02:15:05 +0000 (03:15 +0100)]
Avoid a link error due to the __printf__ symbol.
Bruno Haible [Tue, 19 Jan 2010 02:06:23 +0000 (03:06 +0100)]
Tests for module 'tanl'.
Bruno Haible [Tue, 19 Jan 2010 02:05:50 +0000 (03:05 +0100)]
Tests for module 'sqrtl'.
Bruno Haible [Tue, 19 Jan 2010 02:05:13 +0000 (03:05 +0100)]
Tests for module 'sinl'.
Bruno Haible [Tue, 19 Jan 2010 02:04:45 +0000 (03:04 +0100)]
Tests for module 'logl'.
Bruno Haible [Tue, 19 Jan 2010 02:03:59 +0000 (03:03 +0100)]
Tests for module 'expl'.
Bruno Haible [Tue, 19 Jan 2010 02:03:31 +0000 (03:03 +0100)]
Tests for module 'cosl'.
Bruno Haible [Tue, 19 Jan 2010 02:02:56 +0000 (03:02 +0100)]
Tests for module 'atanl'.
Bruno Haible [Tue, 19 Jan 2010 02:02:25 +0000 (03:02 +0100)]
Tests for module 'asinl'.
Bruno Haible [Tue, 19 Jan 2010 02:01:51 +0000 (03:01 +0100)]
Tests for module 'acosl'.
Bruno Haible [Mon, 18 Jan 2010 00:27:33 +0000 (01:27 +0100)]
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.