gnulib.git
14 years agoNEWS.stable: finalise, note that 528ab01 is not yet upstream stable/20100424
Ian Beckwith [Sat, 24 Apr 2010 20:58:54 +0000 (21:58 +0100)]
NEWS.stable: finalise, note that 528ab01 is not yet upstream

14 years agoNEWS.stable: log cherry-pick [7ffc813]->[b219cbd] make check: avoid an error when...
Ian Beckwith [Sat, 24 Apr 2010 20:56:58 +0000 (21:56 +0100)]
NEWS.stable: log cherry-pick [7ffc813]->[b219cbd] make check: avoid an error when no .git dir present.

14 years agomake check: avoid an error when no .git dir present.
Ian Beckwith [Sat, 24 Apr 2010 20:56:30 +0000 (21:56 +0100)]
make check: avoid an error when no .git dir present.

* Makefile (sc_prefer_ac_check_funcs_once): Don't run git grep
if .git directory is not present (e.g. in stable snapshot tarballs).
(cherry picked from commit 7ffc813d8166df4406a58ef0a0bd872dd65f60dc)

14 years agoreopen NEWS.stable for one more commit
Ian Beckwith [Sat, 24 Apr 2010 20:40:25 +0000 (21:40 +0100)]
reopen NEWS.stable for one more commit

14 years agofinalise NEWS.stable
Ian Beckwith [Sat, 24 Apr 2010 18:22:48 +0000 (19:22 +0100)]
finalise NEWS.stable

14 years agoNEWS.stable: log cherrypicks:
Ian Beckwith [Sat, 24 Apr 2010 18:01:33 +0000 (19:01 +0100)]
NEWS.stable: log cherrypicks:
  [710c8d3]->[8cf9b2c] relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
  [e51d12c]->[528ab01] vasnprintf: Correct errno value in case of out-of-memory.

14 years agovasnprintf: Correct errno value in case of out-of-memory.
Ian Beckwith [Sat, 24 Apr 2010 18:00:13 +0000 (19:00 +0100)]
vasnprintf: Correct errno value in case of out-of-memory.
(cherry picked from commit e51d12c10630dc3c7a1b0f4c54dd0739ccbcaaa7)

14 years agoNEWS.stable: log cherry-pick [cea53ef]->[5428678] bootstrap: use "git -h" instead...
Ian Beckwith [Sat, 24 Apr 2010 17:56:19 +0000 (18:56 +0100)]
NEWS.stable: log cherry-pick [cea53ef]->[5428678] bootstrap: use "git -h" instead of "git --help"

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>
(cherry picked from commit cea53ef6ee1a91cb4a56fae2652b43c830bd2f08)

14 years agoNEWS.stable: log cherry-pick [2f31750]->[2676677] relocatable: Simplify doc.
Ian Beckwith [Sat, 24 Apr 2010 17:55:53 +0000 (18:55 +0100)]
NEWS.stable: log cherry-pick [2f31750]->[2676677] relocatable: Simplify doc.

14 years agorelocatable: Simplify doc.
Bruno Haible [Mon, 19 Apr 2010 22:45:54 +0000 (00:45 +0200)]
relocatable: Simplify doc.
(cherry picked from commit 2f31750d4a1c829278bfc49e619d67f02a376491)

14 years agorelocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
Ian Beckwith [Sat, 24 Apr 2010 17:55:20 +0000 (18:55 +0100)]
relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
(cherry picked from commit 710c8d3ccb0d07d62d89ae90aa7b7711bf4a42ab)

14 years agoNEWS.stable: log cherry-pick [93b28fe]->[e7f1d9f] ioctl: Move autoconf macro to a...
Ian Beckwith [Sat, 24 Apr 2010 17:52:41 +0000 (18:52 +0100)]
NEWS.stable: log cherry-pick [93b28fe]->[e7f1d9f] ioctl: Move autoconf macro to a .m4 file.

14 years agoioctl: Move autoconf macro to a .m4 file.
Ian Beckwith [Sat, 24 Apr 2010 17:52:02 +0000 (18:52 +0100)]
ioctl: Move autoconf macro to a .m4 file.
(cherry picked from commit 93b28fe1de800d8c8d7aff4142f78cee460c67b5)

14 years agoprepare NEWS.stable to continue snapshot
Ian Beckwith [Sat, 24 Apr 2010 17:48:19 +0000 (18:48 +0100)]
prepare NEWS.stable to continue snapshot

14 years agoNEWS.stable: finalise
Ian Beckwith [Mon, 19 Apr 2010 16:46:04 +0000 (17:46 +0100)]
NEWS.stable: finalise

14 years agoNEWS.stable: log cherry-pick [ae75893]->[854fe4e] Override netdb.h always.
Ian Beckwith [Mon, 19 Apr 2010 16:35:34 +0000 (17:35 +0100)]
NEWS.stable: log cherry-pick [ae75893]->[854fe4e] Override netdb.h always.

14 years agoOverride netdb.h always.
Bruno Haible [Fri, 16 Apr 2010 16:43:00 +0000 (18:43 +0200)]
Override netdb.h always.
(cherry picked from commit ae75893767727a7cd6b85c6bafe5cbe356d0f56b)

14 years agoNEWS.stable: log cherry-pick [e764ea2]->[0dc1446] openpty: Fix mistake from 2010...
Ian Beckwith [Mon, 19 Apr 2010 16:33:47 +0000 (17:33 +0100)]
NEWS.stable: log cherry-pick [e764ea2]->[0dc1446] openpty: Fix mistake from 2010-03-21.

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.
(cherry picked from commit e764ea2fcb9a6247ae4dc0d4c0566b43d950a694)

14 years agoNEWS.stable: log cherry-pick [56d363d]->[57a3236] test-forkpty: fix expected signature
Ian Beckwith [Mon, 19 Apr 2010 16:33:27 +0000 (17:33 +0100)]
NEWS.stable: log cherry-pick [56d363d]->[57a3236] test-forkpty: fix expected signature

14 years agotest-forkpty: fix expected signature
Ian Beckwith [Mon, 19 Apr 2010 16:32:51 +0000 (17:32 +0100)]
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>
(cherry picked from commit 56d363d4ccf9d50e9c2fcc5080e8e8d69bc9d5ca)

14 years agoNEWS.stable: log cherry-pick [7c1b995]->[a251be0] strtok_r: relax license to LGPLv2+
Ian Beckwith [Mon, 19 Apr 2010 16:14:28 +0000 (17:14 +0100)]
NEWS.stable: log cherry-pick [7c1b995]->[a251be0] strtok_r: relax license to LGPLv2+

14 years agostrtok_r: relax license to LGPLv2+
Ian Beckwith [Mon, 19 Apr 2010 16:13:50 +0000 (17:13 +0100)]
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>
(cherry picked from commit 7c1b995a7041ea366acafeb8632e1080f349f03f)

14 years agoNEWS.stable: log cherry-pick [d39bc2c]->[588d54b] autoupdate
Ian Beckwith [Mon, 19 Apr 2010 16:12:56 +0000 (17:12 +0100)]
NEWS.stable: log cherry-pick [d39bc2c]->[588d54b] autoupdate

14 years agoautoupdate
Karl Berry [Wed, 14 Apr 2010 17:05:19 +0000 (10:05 -0700)]
autoupdate
(cherry picked from commit d39bc2c4bf58920187cc7384229d54e6e97ee878)

14 years agoNEWS.stable: log cherry-pick [61c96af]->[6229a28] getopt-gnu: match recent glibc...
Ian Beckwith [Mon, 19 Apr 2010 16:11:15 +0000 (17:11 +0100)]
NEWS.stable: log cherry-pick [61c96af]->[6229a28] getopt-gnu: match recent glibc fixes and posix ruling

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.
(cherry picked from commit 61c96af09d3d2c917c69b17cc827e28a280db66c)

14 years agoNEWS.stable: log cherry-pick [db3e280]->[cc1fb6a] getopt: merge bug fixes from glibc
Ian Beckwith [Mon, 19 Apr 2010 16:07:22 +0000 (17:07 +0100)]
NEWS.stable: log cherry-pick [db3e280]->[cc1fb6a] getopt: merge bug fixes from glibc

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>
(cherry picked from commit db3e2806244ae65274db73e6cbd09ca5e9ac4cf8)

14 years agoNEWS.stable: log cherry-pick [5cc0bcf]->[d711c30] getopt-posix: detect MacOS bug
Ian Beckwith [Mon, 19 Apr 2010 16:06:03 +0000 (17:06 +0100)]
NEWS.stable: log cherry-pick [5cc0bcf]->[d711c30] getopt-posix: detect MacOS bug

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>
(cherry picked from commit 5cc0bcf5e4689e1fb0c23b8368c46fdae0402028)

14 years agoNEWS.stable: log cherry-pick [3108b95]->[1454b1f] getopt-posix: avoid spurious failur...
Ian Beckwith [Mon, 19 Apr 2010 16:04:41 +0000 (17:04 +0100)]
NEWS.stable: log cherry-pick [3108b95]->[1454b1f] getopt-posix: avoid spurious failure on Solaris

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>
(cherry picked from commit 3108b956964845104f2d1455af313849afca50ca)

14 years agoNEWS.stable: log cherry-pick [2abb98c]->[f07545c] getopt-posix: avoid spurious failur...
Ian Beckwith [Mon, 19 Apr 2010 16:03:26 +0000 (17:03 +0100)]
NEWS.stable: log cherry-pick [2abb98c]->[f07545c] getopt-posix: avoid spurious failure on FreeBSD

14 years agogetopt-posix: avoid spurious failure on FreeBSD
Ian Beckwith [Mon, 19 Apr 2010 16:02:45 +0000 (17:02 +0100)]
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>
(cherry picked from commit 2abb98c455aa79ec24b55d17fac77995ca25c014)

14 years agoNEWS.stable: log cherry-pick [5fbd6e3]->[5fbd6e3] doc: users.txt: GNU patch now uses...
Ian Beckwith [Mon, 19 Apr 2010 15:59:51 +0000 (16:59 +0100)]
NEWS.stable: log cherry-pick [5fbd6e3]->[5fbd6e3] doc: users.txt: GNU patch now uses gnulib

14 years agodoc: users.txt: GNU patch now uses gnulib
Ian Beckwith [Mon, 19 Apr 2010 15:58:58 +0000 (16:58 +0100)]
doc: users.txt: GNU patch now uses gnulib

* users.txt: Add patch.

(cherry picked from commit 5fbd6e3e571c6e59270fa486bd7c83dfe04c87cf)

14 years agoNEWS.stable: log cherry-pick [197b47e]->[5510d3d] git-version-gen: use "git update...
Ian Beckwith [Mon, 19 Apr 2010 15:58:01 +0000 (16:58 +0100)]
NEWS.stable: log cherry-pick [197b47e]->[5510d3d] git-version-gen: use "git update-index..." rather than "git status"

14 years agogit-version-gen: use "git update-index..." rather than "git status"
Ian Beckwith [Mon, 19 Apr 2010 15:57:07 +0000 (16:57 +0100)]
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.

(cherry picked from commit 197b47e41bbf202b2f1abf45a43515200470bf47)

14 years agoNEWS.stable: log cherry-pick [c9f911d]->[86cda03] autoupdate
Ian Beckwith [Mon, 19 Apr 2010 15:54:52 +0000 (16:54 +0100)]
NEWS.stable: log cherry-pick [c9f911d]->[86cda03] autoupdate

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

14 years agoNEWS.stable: log cherry-pick [e330e06]->[1d3b6f0] libunistring: Correct value of...
Ian Beckwith [Mon, 19 Apr 2010 15:45:46 +0000 (16:45 +0100)]
NEWS.stable: log cherry-pick [e330e06]->[1d3b6f0] libunistring: Correct value of $LTLIBUNISTRING.

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.
(cherry picked from commit e330e06a9fbd13eb257c3b8ac2b2951e6bddac8b)

14 years agoNEWS.stable: log cherry-pick [82b0be3]->[6f6d4bf] havelib: Add static libraries to...
Ian Beckwith [Mon, 19 Apr 2010 15:45:24 +0000 (16:45 +0100)]
NEWS.stable: log cherry-pick [82b0be3]->[6f6d4bf] havelib: Add static libraries to LIBS in the right order.

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.
(cherry picked from commit 82b0be34b85e7169e869e0503b607c990c524da2)

14 years agoNEWS.stable: log cherry-pick [1820b30]->[3e18c19] libunistring: Detect libunistring...
Ian Beckwith [Mon, 19 Apr 2010 15:43:22 +0000 (16:43 +0100)]
NEWS.stable: log cherry-pick [1820b30]->[3e18c19] libunistring: Detect libunistring also when it depends on libiconv.

14 years agolibunistring: Detect libunistring also when it depends on libiconv.
Ian Beckwith [Mon, 19 Apr 2010 15:42:47 +0000 (16:42 +0100)]
libunistring: Detect libunistring also when it depends on libiconv.
(cherry picked from commit 1820b302be900a38b063404af66a00ae88552ce7)

14 years agoNEWS.stable: log cherry-pick [03271c7]->[f5544ce] Fix typo in comment.
Ian Beckwith [Mon, 19 Apr 2010 15:39:23 +0000 (16:39 +0100)]
NEWS.stable: log cherry-pick [03271c7]->[f5544ce] Fix typo in comment.

14 years agoFix typo in comment.
Ian Beckwith [Mon, 19 Apr 2010 15:37:51 +0000 (16:37 +0100)]
Fix typo in comment.
(cherry picked from commit 03271c7c26bf808ad6006d77f3ae0ffd42c52d23)

14 years agoNEWS.stable: log cherry-pick [3c79d51]->[9f9fbf6] Update comment.
Ian Beckwith [Mon, 19 Apr 2010 15:33:44 +0000 (16:33 +0100)]
NEWS.stable: log cherry-pick [3c79d51]->[9f9fbf6] Update comment.

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

14 years agoNEWS.stable: log cherry-pick [b969309]->[70b21bf] mkdir: Make it work on mingw64.
Ian Beckwith [Mon, 19 Apr 2010 15:33:22 +0000 (16:33 +0100)]
NEWS.stable: log cherry-pick [b969309]->[70b21bf] mkdir: Make it work on mingw64.

14 years agomkdir: Make it work on mingw64.
Ian Beckwith [Mon, 19 Apr 2010 15:32:32 +0000 (16:32 +0100)]
mkdir: Make it work on mingw64.
(cherry picked from commit b969309b853c939f04cbae890abad73a8a595067)

14 years agoNEWS.stable: log cherry-pick [67c7b8e]->[42d09c4] maint.mk: correct a diagnostic
Ian Beckwith [Mon, 19 Apr 2010 15:30:42 +0000 (16:30 +0100)]
NEWS.stable: log cherry-pick [67c7b8e]->[42d09c4] maint.mk: correct a diagnostic

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.
(cherry picked from commit 67c7b8eea211efe86c9dbadfa4879cb8961e095c)

14 years agoNEWS.stable: log cherry-pick [15a0c62]->[849156a] fchownat: Fix a C++ test error...
Ian Beckwith [Mon, 19 Apr 2010 15:30:23 +0000 (16:30 +0100)]
NEWS.stable: log cherry-pick [15a0c62]->[849156a] fchownat: Fix a C++ test error on Solaris 8.

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.
(cherry picked from commit 15a0c625accdd9f8ff6b71ab62af36b8b3f408f8)

14 years agoNEWS.stable: log cherry-pick [de9f4b1]->[c886605] vasnprintf: Add more tests.
Ian Beckwith [Mon, 19 Apr 2010 15:29:43 +0000 (16:29 +0100)]
NEWS.stable: log cherry-pick [de9f4b1]->[c886605] vasnprintf: Add more tests.

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

14 years agoNEWS.stable: log cherry-pick [0167c19]->[8bd3d4c] vasnprintf: Correct handling of...
Ian Beckwith [Mon, 19 Apr 2010 15:29:35 +0000 (16:29 +0100)]
NEWS.stable: log cherry-pick [0167c19]->[8bd3d4c] vasnprintf: Correct handling of unconvertible wide string arguments.

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.
(cherry picked from commit 0167c1923d0791e0e1491a856292b0945621c4e2)

14 years agoNEWS.stable: log cherry-pick [32d1664]->[e651e75] vasnprintf: Fix crash in %ls directive.
Ian Beckwith [Mon, 19 Apr 2010 15:29:27 +0000 (16:29 +0100)]
NEWS.stable: log cherry-pick [32d1664]->[e651e75] vasnprintf: Fix crash in %ls directive.

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.
(cherry picked from commit 32d1664e8e930d8fa6a29db4caac4d21623e42c8)

14 years agoNEWS.stable: log cherry-pick [067d1f1]->[cc75f4b] vasnprintf: Fix multiple test failu...
Ian Beckwith [Mon, 19 Apr 2010 15:29:17 +0000 (16:29 +0100)]
NEWS.stable: log cherry-pick [067d1f1]->[cc75f4b] vasnprintf: Fix multiple test failures on mingw.

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.
(cherry picked from commit 067d1f10627e25eb1af323b56b6dbc7d8e74ba57)

14 years agoNEWS.stable: log cherry-pick [3c65a68]->[4b43aec] write: Fix a C++ test error on...
Ian Beckwith [Mon, 19 Apr 2010 15:29:07 +0000 (16:29 +0100)]
NEWS.stable: log cherry-pick [3c65a68]->[4b43aec] write: Fix a C++ test error 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.
(cherry picked from commit 3c65a6806b208533f681855712e0febf4bb0ed67)

14 years agoNEWS.stable: log cherry-pick [3213c10]->[102392e] vasnprintf test: Reduce code duplic...
Ian Beckwith [Mon, 19 Apr 2010 15:28:28 +0000 (16:28 +0100)]
NEWS.stable: log cherry-pick [3213c10]->[102392e] vasnprintf test: Reduce code duplication.

14 years agovasnprintf test: Reduce code duplication.
Ian Beckwith [Mon, 19 Apr 2010 15:27:29 +0000 (16:27 +0100)]
vasnprintf test: Reduce code duplication.
(cherry picked from commit 3213c107e7632d3b7e462c06acaefde7d50e5067)

14 years agoNEWS.stable: log cherry-pick [85f6993]->[bcd59b9] Add missing parenthesis in manywarn...
Ian Beckwith [Mon, 19 Apr 2010 14:29:55 +0000 (15:29 +0100)]
NEWS.stable: log cherry-pick [85f6993]->[bcd59b9] Add missing parenthesis in manywarnings example

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
(cherry picked from commit 85f6993aa94a87689fb1c4d49e5be4f271cb97d1)

14 years agoNEWS.stable: log cherry-pick [6b8b58b]->[1ce7c50] init.sh: run tr in the "C" locale...
Ian Beckwith [Mon, 19 Apr 2010 14:23:17 +0000 (15:23 +0100)]
NEWS.stable: log cherry-pick [6b8b58b]->[1ce7c50] init.sh: run tr in the "C" locale to avoid multibyte interpretation

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.
(cherry picked from commit 6b8b58b99d6aaedeed12300cc154af7d3af7b95f)

14 years agoNEWS.stable: log cherry-pick [38e3c69]->[a11321f] ftruncate: add two years to project...
Ian Beckwith [Mon, 19 Apr 2010 14:20:10 +0000 (15:20 +0100)]
NEWS.stable: log cherry-pick [38e3c69]->[a11321f] ftruncate: add two years to projected module removal date: 2012

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.
(cherry picked from commit 38e3c69497f5413d59c4fba50b7a9268b6d5eb84)

14 years agoNEWS.stable: log cherry-pick [2d4d227]->[358e18f] Add attribution to a ChangeLog...
Ian Beckwith [Mon, 19 Apr 2010 14:18:37 +0000 (15:18 +0100)]
NEWS.stable: log cherry-pick [2d4d227]->[358e18f] Add attribution to a ChangeLog entry.

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.
(cherry picked from commit 2d4d2273ac42299019f64b7fbf801012eb0c557c)

14 years agoNEWS.stable: log cherry-pick [950f346]->[99a272b] ftruncate: mark module as obsolete...
Ian Beckwith [Mon, 19 Apr 2010 14:18:19 +0000 (15:18 +0100)]
NEWS.stable: log cherry-pick [950f346]->[99a272b] ftruncate: mark module as obsolete; even MinGW provides it, now

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
(cherry picked from commit 950f3469e4c332f03e07124f2a591a62a65ed322)

14 years agoprepare NEWS.stable for new snapshot
Ian Beckwith [Mon, 19 Apr 2010 14:05:13 +0000 (15:05 +0100)]
prepare NEWS.stable for new snapshot

14 years agoMerge branch 'upstream' into stable
Ian Beckwith [Sun, 18 Apr 2010 00:45:43 +0000 (01:45 +0100)]
Merge branch 'upstream' into stable

Conflicts:
ChangeLog
NEWS
lib/spawn.in.h

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.