gnulib.git
14 years agobootstrap: use "git -h" instead of "git --help"
Andreas Gruenbacher [Mon, 19 Apr 2010 22:30:51 +0000 (00:30 +0200)]
bootstrap: use "git -h" instead of "git --help"

Use "git -h" for testing for supported options instead of "git --help".
The short-form option only shows a summary, and doesn't layout the full
man page, which is much faster and saves a dependency.

(We found out that git uses man in a build environment of
 http://hydra.nixos.org/, which by default doesn't have man installed.)

Grep for the full option name in the summary, too.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
14 years agorelocatable: Simplify doc.
Bruno Haible [Mon, 19 Apr 2010 22:45:54 +0000 (00:45 +0200)]
relocatable: Simplify doc.

14 years agorelocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
Bruno Haible [Mon, 19 Apr 2010 22:24:35 +0000 (00:24 +0200)]
relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.

14 years agoFix typo in comment.
Bruno Haible [Mon, 19 Apr 2010 22:02:14 +0000 (00:02 +0200)]
Fix typo in comment.

14 years agoioctl: Move autoconf macro to a .m4 file.
Bruno Haible [Mon, 19 Apr 2010 20:24:13 +0000 (22:24 +0200)]
ioctl: Move autoconf macro to a .m4 file.

14 years agoautupdate
Karl Berry [Mon, 19 Apr 2010 15:50:09 +0000 (08:50 -0700)]
autupdate

14 years agodiffseq: Accommodate use-case with abstract arrays.
Bruno Haible [Sun, 18 Apr 2010 22:01:18 +0000 (00:01 +0200)]
diffseq: Accommodate use-case with abstract arrays.

14 years agoDoc tweak.
Bruno Haible [Sun, 18 Apr 2010 20:01:05 +0000 (22:01 +0200)]
Doc tweak.

14 years agomaint.mk: use gnu-style indentation in an embedded perl script
Jim Meyering [Sat, 17 Apr 2010 20:13:41 +0000 (22:13 +0200)]
maint.mk: use gnu-style indentation in an embedded perl script

* top/maint.mk (detect_empty_lines_at_EOF_): Clean up formatting.
Rename variable: s/two/last_two_bytes/

14 years agotest-stdbool: skip test that fails with Solaris CC
Eric Blake [Fri, 16 Apr 2010 23:04:58 +0000 (17:04 -0600)]
test-stdbool: skip test that fails with Solaris CC

Solaris 9 CC has a bug; it allows (int)0.0 and (bool)0 in constant
expressions, but not (bool)0.0.  Our replacement stdbool cannot
provide that guarantee of C99 for this particular compiler, but
since use of that feature causes compilation failure rather than
silent mis-compilation, we just skip the test.

* tests/test-stdbool.c (f): Skip test that causes compilation
error under buggy C++ compiler.
* lib/stdbool.in.h: Document the limitation.
* doc/posix-headers/stdbool.texi (stdbool.h): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agosetenv: allow compilation with C++
Eric Blake [Fri, 16 Apr 2010 20:21:29 +0000 (14:21 -0600)]
setenv: allow compilation with C++

* lib/setenv.c (__add_to_environ): Add a cast.  Also, drop use of
register keyword.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agostdint: allow test to pass with C++
Eric Blake [Fri, 16 Apr 2010 20:11:08 +0000 (14:11 -0600)]
stdint: allow test to pass with C++

__STDC_LIMIT_MACROS is only half the battle.

* tests/test-stdint.c: Define __STDC_CONSTANT_MACROS, for glibc.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogetopt: allow compilation with C++
Eric Blake [Fri, 16 Apr 2010 20:08:15 +0000 (14:08 -0600)]
getopt: allow compilation with C++

A C++ compiler complains that REQUIRE_ORDER is unknown if it is
buried inside the struct.

* lib/getopt_int.h (__ordering): Hoist enum declaration outside
struct.
* lib/getopt.c (_getopt_internal_r): Use correct type.
Reported by Dagobert Michelson, via Joel E. Denny.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoOverride netdb.h always.
Bruno Haible [Fri, 16 Apr 2010 16:43:00 +0000 (18:43 +0200)]
Override netdb.h always.

14 years agoopenpty: Fix mistake from 2010-03-21.
Bruno Haible [Fri, 16 Apr 2010 00:38:16 +0000 (02:38 +0200)]
openpty: Fix mistake from 2010-03-21.

14 years agotest-forkpty: fix expected signature
Eric Blake [Thu, 15 Apr 2010 13:54:02 +0000 (07:54 -0600)]
test-forkpty: fix expected signature

* tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agomaint.mk: texinfo_suffix_re_: correct the default regexp
Jim Meyering [Thu, 15 Apr 2010 11:50:16 +0000 (13:50 +0200)]
maint.mk: texinfo_suffix_re_: correct the default regexp

* top/maint.mk (texinfo_suffix_re_): Fix default regexp.

14 years agotop/maint.mk (sc_texinfo_acronym): Improve filename regexp.
Simon Josefsson [Thu, 15 Apr 2010 11:44:21 +0000 (13:44 +0200)]
top/maint.mk (sc_texinfo_acronym): Improve filename regexp.

14 years agostrtok_r: relax license to LGPLv2+
Eric Blake [Wed, 14 Apr 2010 19:03:38 +0000 (13:03 -0600)]
strtok_r: relax license to LGPLv2+

strtok_r borrows from glibc, which is LGPLv2+; besides, the
only major changes since 2007-10, when LGPLv3 became the default,
were in commit 5985805, to work around a glibc header bug.

* modules/strtok_r (License): Relax license.
Reported by Matthias Bolte.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoautoupdate
Karl Berry [Wed, 14 Apr 2010 17:05:19 +0000 (10:05 -0700)]
autoupdate

14 years agolib/gc-libgcrypt.c (gc_init): Use MIN_GCRYPT_VERSION set to version 1.4.4.
Simon Josefsson [Wed, 14 Apr 2010 13:23:28 +0000 (15:23 +0200)]
lib/gc-libgcrypt.c (gc_init): Use MIN_GCRYPT_VERSION set to version 1.4.4.

14 years agogetopt-gnu: match recent glibc fixes and posix ruling
Eric Blake [Fri, 9 Apr 2010 22:34:16 +0000 (16:34 -0600)]
getopt-gnu: match recent glibc fixes and posix ruling

The POSIX folks admitted that codifying the behavior of GNU
getopt on a leading '+' in optstring is worthwhile, for writing
programs such as env(1) even when POSIXLY_CORRECT is not defined.
http://austingroupbugs.net/view.php?id=191
However, the ruling is an enhancement request for the next
version of POSIX, and is not binding on platforms that comply
with POSIX 2008, so it should only be enforced for getopt-gnu.

* tests/test-getopt.h (test_getopt): Strengthen tests of leading
'+' handling, when requesting extensions.
* tests/test-getopt_long.h (test_getopt_long): Strengthen test of
'W;' handling.
* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Detect glibc 2.11 bug.
* doc/posix-functions/getopt.texi (getopt): Document this.
* doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
* doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
Likewise.

14 years agogetopt: merge bug fixes from glibc
Eric Blake [Sat, 10 Apr 2010 17:56:34 +0000 (11:56 -0600)]
getopt: merge bug fixes from glibc

* lib/getopt.c (_getopt_internal_r): Use correct message for 'W;'
diagnostics.  Honor '+:' correctly.  Reject ';'.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogetopt-posix: detect MacOS bug
Eric Blake [Tue, 13 Apr 2010 20:30:37 +0000 (14:30 -0600)]
getopt-posix: detect MacOS bug

On MacOS 10.5 (Darwin 9.8.0), optind is incremented by 2 instead
of 1 in the case of a missing requirement on condensed options.

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Reject MacOS botch of
optind when missing a required argument.
* doc/posix-functions/getopt.texi (getopt): Document the bug.
* doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
* doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogetopt-posix: avoid spurious failure on Solaris
Eric Blake [Tue, 13 Apr 2010 17:00:29 +0000 (11:00 -0600)]
getopt-posix: avoid spurious failure on Solaris

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Check for getopt_clip as
an indicator that setting optind=1 is sufficient for reset.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogetopt-posix: avoid spurious failure on FreeBSD
Eric Blake [Tue, 13 Apr 2010 14:37:08 +0000 (08:37 -0600)]
getopt-posix: avoid spurious failure on FreeBSD

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Check for optreset even
in POSIX mode, since the m4 test uses it.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agognulib-tool: silence warning on BSD sh
Eric Blake [Mon, 12 Apr 2010 23:03:08 +0000 (17:03 -0600)]
gnulib-tool: silence warning on BSD sh

FreeBSD /bin/sh issues warnings about commands not found prior
to redirecting stderr.

* gnulib-tool: Avoid leaking warning about unknown 'declare'.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodoc: users.txt: GNU patch now uses gnulib
Jim Meyering [Tue, 13 Apr 2010 07:27:02 +0000 (09:27 +0200)]
doc: users.txt: GNU patch now uses gnulib

* users.txt: Add patch.

14 years agomaint.mk: generate more concise timing data for syntax-check rules
Jim Meyering [Mon, 12 Apr 2010 20:15:19 +0000 (22:15 +0200)]
maint.mk: generate more concise timing data for syntax-check rules

* top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and
" done" from each line that reports a syntax-check test duration.

14 years agogit-version-gen: use "git update-index..." rather than "git status"
Andreas Gruenbacher [Mon, 12 Apr 2010 15:56:27 +0000 (17:56 +0200)]
git-version-gen: use "git update-index..." rather than "git status"

* build-aux/git-version-gen: Use git update-index --refresh, not
"git status".  With some versions of git, "git status" would fail
to update the index and result in an unwarranted "-dirty" suffix.

14 years agoautoupdate
Karl Berry [Mon, 12 Apr 2010 17:21:32 +0000 (10:21 -0700)]
autoupdate

14 years agoopenat: correct formatting (no semantic change)
Jim Meyering [Sun, 11 Apr 2010 18:35:32 +0000 (20:35 +0200)]
openat: correct formatting (no semantic change)

* m4/openat.m4 (gl_FUNC_FCHOWNAT): Correct formatting in AC_DEFINE.
Suggested by Bruno Haible.

14 years agoStricter declaration checking in testdirs.
Bruno Haible [Sun, 11 Apr 2010 17:21:20 +0000 (19:21 +0200)]
Stricter declaration checking in testdirs.

14 years agolibunistring: Improve configure output.
Bruno Haible [Sun, 11 Apr 2010 16:26:02 +0000 (18:26 +0200)]
libunistring: Improve configure output.

14 years agolibunistring: Correct value of $LTLIBUNISTRING.
Bruno Haible [Sun, 11 Apr 2010 16:22:50 +0000 (18:22 +0200)]
libunistring: Correct value of $LTLIBUNISTRING.

14 years agohavelib: Add static libraries to LIBS in the right order.
Bruno Haible [Sun, 11 Apr 2010 16:06:48 +0000 (18:06 +0200)]
havelib: Add static libraries to LIBS in the right order.

14 years agolibunistring: Detect libunistring also when it depends on libiconv.
Bruno Haible [Sun, 11 Apr 2010 16:01:52 +0000 (18:01 +0200)]
libunistring: Detect libunistring also when it depends on libiconv.

14 years agoclose-stream: declare local scalars to be "const"
James Youngman [Sun, 11 Apr 2010 14:48:21 +0000 (16:48 +0200)]
close-stream: declare local scalars to be "const"

* lib/close-stream.c (close_stream): Make boolean variables const
to document the fact that we set but do not change them.

14 years agoFix typo in comment.
Bruno Haible [Sun, 11 Apr 2010 13:01:37 +0000 (15:01 +0200)]
Fix typo in comment.

14 years agomaint.mk: don't include dist-check.mk
Jim Meyering [Sun, 11 Apr 2010 11:54:35 +0000 (13:54 +0200)]
maint.mk: don't include dist-check.mk

* top/maint.mk: Remove bogus include directive.

14 years agomaint.mk: improve empty-line-at-EOF check
Jim Meyering [Sun, 11 Apr 2010 11:35:33 +0000 (13:35 +0200)]
maint.mk: improve empty-line-at-EOF check

* top/maint.mk (sc_prohibit_empty_lines_at_EOF): Use Perl-based
solution, rather than tail+Perl-based one.  The latter would read
a few kilobytes from the end of each file, and did not handle empty
files properly.

14 years agomaint.mk: print the elapsed time for each syntax-check rule
Jim Meyering [Sun, 11 Apr 2010 08:26:52 +0000 (10:26 +0200)]
maint.mk: print the elapsed time for each syntax-check rule

* top/maint.mk (sc_m_rules_): Save start time in a file.
(sc_z_rules_): New rules: remove temp file and print elapsed time.
(local-check): Interpose the .z rules

14 years agomaint.mk: detect_empty_lines_at_EOF_: avoid FP for an empty file
Jim Meyering [Sun, 11 Apr 2010 08:37:31 +0000 (10:37 +0200)]
maint.mk: detect_empty_lines_at_EOF_: avoid FP for an empty file

* top/maint.mk (detect_empty_lines_at_EOF_): Don't confuse an
empty file with one that ends in an empty line.

14 years agoUpdate comment.
Bruno Haible [Sat, 10 Apr 2010 23:55:23 +0000 (01:55 +0200)]
Update comment.

14 years agomkdir: Make it work on mingw64.
Bruno Haible [Sat, 10 Apr 2010 22:25:21 +0000 (00:25 +0200)]
mkdir: Make it work on mingw64.

14 years agoDon't override improved macro from newer autoconf.
Bruno Haible [Sat, 10 Apr 2010 20:40:52 +0000 (22:40 +0200)]
Don't override improved macro from newer autoconf.

14 years agomaint.mk: new syntax-check rule: prohibit empty lines at end of file
Jim Meyering [Sat, 10 Apr 2010 20:36:37 +0000 (22:36 +0200)]
maint.mk: new syntax-check rule: prohibit empty lines at end of file

* top/maint.mk (sc_prohibit_empty_lines_at_EOF): New rule.

14 years agomaint.mk: correct a diagnostic
Jim Meyering [Sat, 10 Apr 2010 20:30:46 +0000 (22:30 +0200)]
maint.mk: correct a diagnostic

* top/maint.mk (sc_prohibit_HAVE_MBRTOWC): Fix obsolete use of $re
in diagnostic; now use $prohibit.

14 years agofchownat: Fix a C++ test error on Solaris 8.
Bruno Haible [Sat, 10 Apr 2010 20:30:16 +0000 (22:30 +0200)]
fchownat: Fix a C++ test error on Solaris 8.

14 years agovasnprintf: Add more tests.
Bruno Haible [Sat, 10 Apr 2010 20:26:56 +0000 (22:26 +0200)]
vasnprintf: Add more tests.

14 years agovasnprintf: Correct handling of unconvertible wide string arguments.
Bruno Haible [Sat, 10 Apr 2010 20:25:31 +0000 (22:25 +0200)]
vasnprintf: Correct handling of unconvertible wide string arguments.

14 years agovasnprintf: Fix crash in %ls directive.
Bruno Haible [Sat, 10 Apr 2010 20:17:02 +0000 (22:17 +0200)]
vasnprintf: Fix crash in %ls directive.

14 years agovasnprintf: Fix multiple test failures on mingw.
Bruno Haible [Sat, 10 Apr 2010 19:40:23 +0000 (21:40 +0200)]
vasnprintf: Fix multiple test failures on mingw.

14 years agowrite: Fix a C++ test error on mingw.
Bruno Haible [Sat, 10 Apr 2010 19:11:00 +0000 (21:11 +0200)]
write: Fix a C++ test error on mingw.

14 years agovasnprintf test: Reduce code duplication.
Bruno Haible [Sat, 10 Apr 2010 16:41:20 +0000 (18:41 +0200)]
vasnprintf test: Reduce code duplication.

14 years agostrnlen: Fix warning in C++ mode on MacOS X.
Bruno Haible [Sat, 10 Apr 2010 09:29:14 +0000 (11:29 +0200)]
strnlen: Fix warning in C++ mode on MacOS X.

14 years agoAdd missing parenthesis in manywarnings example
James Youngman [Thu, 8 Apr 2010 02:02:12 +0000 (03:02 +0100)]
Add missing parenthesis in manywarnings example

14 years agomaint.mk: print better diagnostic when there is no $(_hv_file)
Jim Meyering [Fri, 9 Apr 2010 20:36:26 +0000 (22:36 +0200)]
maint.mk: print better diagnostic when there is no $(_hv_file)

* top/maint.mk (sc_cross_check_PATH_usage_in_tests): Skip test and
announce that when $(_hv_file) (aka help-version) does not exist.

14 years agoinit.sh: run tr in the "C" locale to avoid multibyte interpretation
Jim Meyering [Fri, 9 Apr 2010 18:53:49 +0000 (20:53 +0200)]
init.sh: run tr in the "C" locale to avoid multibyte interpretation

* tests/init.sh (rand_bytes_): Run tr in the "C" locale so it does
not try to interpret its random input bytes.  Jarno Rajahalme reported
that ./test-xalloc-die.sh would fail with "tr: Illegal byte sequence"
on Darwin 10.3.0 with LC_CTYPE=UTF-8.
(mktempd_): Likewise, just in case.

14 years agoftruncate: add two years to projected module removal date: 2012
Jim Meyering [Fri, 9 Apr 2010 17:14:37 +0000 (19:14 +0200)]
ftruncate: add two years to projected module removal date: 2012

* m4/ftruncate.m4: Adjust comments.

14 years agoAdd attribution to a ChangeLog entry.
Bruno Haible [Fri, 9 Apr 2010 09:08:15 +0000 (11:08 +0200)]
Add attribution to a ChangeLog entry.

14 years agoftruncate: mark module as obsolete; even MinGW provides it, now
Jim Meyering [Fri, 9 Apr 2010 08:44:23 +0000 (10:44 +0200)]
ftruncate: mark module as obsolete; even MinGW provides it, now

* modules/ftruncate (Status): Obsolete.
(Notice): Say that.
* doc/posix-functions/ftruncate.texi: Don't say MinGW lacks it.
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9203

14 years agoFix side effects from tests-related modules.
Bruno Haible [Fri, 9 Apr 2010 00:02:15 +0000 (02:02 +0200)]
Fix side effects from tests-related modules.

14 years agodoc fixes to srclist*
Karl Berry [Wed, 7 Apr 2010 23:02:50 +0000 (16:02 -0700)]
doc fixes to srclist*

14 years agomaint.mk: add a PATH crosschecking syntax-check rule
Jim Meyering [Wed, 7 Apr 2010 11:45:59 +0000 (13:45 +0200)]
maint.mk: add a PATH crosschecking syntax-check rule

* top/maint.mk (sc_cross_check_PATH_usage_in_tests): New rule.
Useful if you use a test like the one in help-version (coreutils,
diffutils, grep, gzip) that ensures $(VERSION) matches what is
printed by prog --version.

14 years agoFix link error on mingw.
Bruno Haible [Tue, 6 Apr 2010 22:26:31 +0000 (00:26 +0200)]
Fix link error on mingw.

14 years agoAssume rmdir exists.
Bruno Haible [Tue, 6 Apr 2010 21:23:00 +0000 (23:23 +0200)]
Assume rmdir exists.

14 years agodoc: update users.txt
Giuseppe Scrivano [Tue, 6 Apr 2010 19:26:32 +0000 (21:26 +0200)]
doc: update users.txt

* users.txt: Add gcal.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoinit.sh: simply unset TMPDIR rather than risking env -i
Jim Meyering [Tue, 6 Apr 2010 17:24:57 +0000 (19:24 +0200)]
init.sh: simply unset TMPDIR rather than risking env -i

* tests/init.sh (mktempd_): Using env -i is rather harsh, and
although it probably works fine on all Unix-based systems, some
systems (Cygwin?) cannot tolerate a totally cleared environment.
Suggestion from Eric Blake.

2010-04-06  Jim Meyering  <meyering@redhat.com>

14 years agoinit.sh: portability fix: use env's POSIX-specified -i option not -u
Jim Meyering [Tue, 6 Apr 2010 15:33:51 +0000 (17:33 +0200)]
init.sh: portability fix: use env's POSIX-specified -i option not -u

* tests/init.sh (mktempd_): Use env -i and set PATH explicitly rather
than unportable env -u.  Solaris 5.11's env lacks support for -u.

14 years agobtowc: Work around Cygwin 1.7.2 bug.
Bruno Haible [Mon, 5 Apr 2010 22:30:28 +0000 (00:30 +0200)]
btowc: Work around Cygwin 1.7.2 bug.

14 years agoMake the multithread modules work on Cygwin 1.7.2.
Bruno Haible [Mon, 5 Apr 2010 21:46:02 +0000 (23:46 +0200)]
Make the multithread modules work on Cygwin 1.7.2.

14 years agoUse the module 'strncat'.
Bruno Haible [Mon, 5 Apr 2010 19:17:47 +0000 (21:17 +0200)]
Use the module 'strncat'.

14 years agoTests for module 'strncat'.
Bruno Haible [Mon, 5 Apr 2010 19:17:09 +0000 (21:17 +0200)]
Tests for module 'strncat'.

14 years agoNew module 'strncat'.
Bruno Haible [Mon, 5 Apr 2010 19:14:58 +0000 (21:14 +0200)]
New module 'strncat'.

14 years agoxstrtoumax-tests: convert to use init.sh
Jim Meyering [Mon, 5 Apr 2010 17:30:38 +0000 (19:30 +0200)]
xstrtoumax-tests: convert to use init.sh

* modules/xstrtoumax-tests (Files): Add tests/init.sh.
* tests/test-xstrtoumax.sh: Invoke "$srcdir/init.sh" and path_prepend_.
Use Exit, not exit.
Remove uses of $EXEEXT and "./" to run a program in the current dir.

14 years agoxstrtoimax-tests: convert to use init.sh
Jim Meyering [Mon, 5 Apr 2010 16:27:15 +0000 (18:27 +0200)]
xstrtoimax-tests: convert to use init.sh

* modules/xstrtoimax-tests (Files): Add tests/init.sh.
* tests/test-xstrtoimax.sh: Invoke "$srcdir/init.sh" and path_prepend_.
Use Exit, not exit.
Remove uses of $EXEEXT and "./" to run a program in the current dir.

14 years agoxstrtol-tests: convert to use init.sh
Jim Meyering [Mon, 5 Apr 2010 14:32:41 +0000 (16:32 +0200)]
xstrtol-tests: convert to use init.sh

* modules/xstrtol-tests (Files): Add tests/init.sh.
* tests/test-xstrtol.sh: Invoke "$srcdir/init.sh" and path_prepend_.
Use Exit, not exit.
Remove uses of $EXEEXT and "./" to run a program in the current dir.

14 years agoatexit-tests: convert to use init.sh
Jim Meyering [Mon, 5 Apr 2010 14:12:55 +0000 (16:12 +0200)]
atexit-tests: convert to use init.sh

* modules/atexit-tests (Files): Add tests/init.sh.
* tests/test-atexit.sh: Invoke "$srcdir/init.sh" and path_prepend_.
Use Exit, not exit.
Remove uses of $EXEEXT and "./" to run a program in the current dir.

14 years agosys_socket: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 5 Apr 2010 16:34:08 +0000 (18:34 +0200)]
sys_socket: Avoid #define replacements in C++ mode.

14 years agofseeko: Fix C++ test error on mingw.
Bruno Haible [Mon, 5 Apr 2010 16:18:11 +0000 (18:18 +0200)]
fseeko: Fix C++ test error on mingw.

14 years agoduplocale: Improve test output.
Bruno Haible [Mon, 5 Apr 2010 15:26:55 +0000 (17:26 +0200)]
duplocale: Improve test output.

14 years agoAssume rmdir exists.
Bruno Haible [Mon, 5 Apr 2010 15:27:26 +0000 (17:27 +0200)]
Assume rmdir exists.

14 years agoAssume rmdir exists.
Bruno Haible [Mon, 5 Apr 2010 14:58:01 +0000 (16:58 +0200)]
Assume rmdir exists.

14 years agoFix link error on Solaris 8 with cc.
Bruno Haible [Mon, 5 Apr 2010 14:14:47 +0000 (16:14 +0200)]
Fix link error on Solaris 8 with cc.

14 years agofrexpl: Fix a C++ test error on Solaris 8 and Cygwin.
Bruno Haible [Mon, 5 Apr 2010 13:58:34 +0000 (15:58 +0200)]
frexpl: Fix a C++ test error on Solaris 8 and Cygwin.

14 years agovasprintf: Update documentation.
Bruno Haible [Mon, 5 Apr 2010 13:27:34 +0000 (15:27 +0200)]
vasprintf: Update documentation.

14 years agoptsname: Improve test.
Bruno Haible [Mon, 5 Apr 2010 11:15:11 +0000 (13:15 +0200)]
ptsname: Improve test.

14 years agomemchr: Avoid a possible C++ test error.
Bruno Haible [Mon, 5 Apr 2010 11:12:59 +0000 (13:12 +0200)]
memchr: Avoid a possible C++ test error.

14 years agostrtok_r: Improve idiom.
Bruno Haible [Mon, 5 Apr 2010 10:53:27 +0000 (12:53 +0200)]
strtok_r: Improve idiom.

14 years agostrdup: Improve idiom.
Bruno Haible [Mon, 5 Apr 2010 10:51:03 +0000 (12:51 +0200)]
strdup: Improve idiom.

14 years agombsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible [Mon, 5 Apr 2010 10:24:52 +0000 (12:24 +0200)]
mbsinit, mbrtowc, wcrtomb: Improve idioms.

14 years agoldexpl: Improve idiom.
Bruno Haible [Mon, 5 Apr 2010 09:55:38 +0000 (11:55 +0200)]
ldexpl: Improve idiom.

14 years agoinit.sh: fix typo
Jim Meyering [Mon, 5 Apr 2010 14:10:05 +0000 (16:10 +0200)]
init.sh: fix typo

* tests/init.sh: Restore omitted ":" before stderr_fileno_ initialization.

14 years agoupdate from texinfo
Karl Berry [Mon, 5 Apr 2010 13:42:37 +0000 (06:42 -0700)]
update from texinfo

14 years agoinit.sh: make it easier for a test script to write to the tty, ...
Jim Meyering [Mon, 5 Apr 2010 08:01:07 +0000 (10:01 +0200)]
init.sh: make it easier for a test script to write to the tty, ...

when using automake's parallel-tests mode.
* tests/init.sh (stderr_fileno_): Define overridable variable.
(warn_): New function, to use it.
(fail_, skip_, framework_failure_): Use warn_.

14 years agobtowc: Avoid warning.
Bruno Haible [Sun, 4 Apr 2010 23:37:37 +0000 (01:37 +0200)]
btowc: Avoid warning.

14 years agowchar: Port to NetBSD 1.5.
Hauke Fath [Sun, 4 Apr 2010 23:33:24 +0000 (01:33 +0200)]
wchar: Port to NetBSD 1.5.

14 years agoPort extended stdio to NetBSD 1.5.
Hauke Fath [Sun, 4 Apr 2010 23:13:18 +0000 (01:13 +0200)]
Port extended stdio to NetBSD 1.5.

14 years agostring: Remove unused substitution.
Bruno Haible [Sun, 4 Apr 2010 21:41:29 +0000 (23:41 +0200)]
string: Remove unused substitution.