Re: [PATCH] timeout: fix failure if timeout's parent has ignored SIGCHLD

2009-12-08 Thread Pádraig Brady
I'm a bit worried about doing the following in this patch. It seems to work but I can see ignoring CHLD being problematic for some shells/situations. I'll probably push without the test. --- a/tests/misc/timeout +++ b/tests/misc/timeout @@ -23,6 +23,7 @@ fi . $srcdir/test-lib.sh +trap '' CHLD #

[PATCH] sort: fix failure if sort's parent has ignored SIGCHLD

2009-12-08 Thread Pádraig Brady
The same issue as with the previous `timeout` patch. The attached includes at test, but I'll probably remove it because of the previously mentioned concerns. cheers, Pádraig.

Re: stty & stty-row-col test failures

2009-12-08 Thread Pádraig Brady
I'm going with this unless there are objections >From bb0ae98acca9fe2b27eb5ccadf57d4842cab5d8f Mon Sep 17 00:00:00 2001 From: =?utf-8?q?P=C3=A1draig=20Brady?= Date: Tue, 8 Dec 2009 08:00:37 + Subject: [PATCH] tests: fix stty-row-col failure on small fixed terminals * tests/misc/stty-row-col:

Re: stty & stty-row-col test failures

2009-12-08 Thread Jim Meyering
Pádraig Brady wrote: > I'm going with this unless there are objections > >>From bb0ae98acca9fe2b27eb5ccadf57d4842cab5d8f Mon Sep 17 00:00:00 2001 > From: =?utf-8?q?P=C3=A1draig=20Brady?= > Date: Tue, 8 Dec 2009 08:00:37 + > Subject: [PATCH] tests: fix stty-row-col failure on small fixed termi

Re: stty & stty-row-col test failures

2009-12-08 Thread Jim Meyering
Pádraig Brady wrote: > Matthew Burgess wrote: >> Hi, >> >> The stty & stty-row-col tests fail for me, but I can't figure out why. I >> wonder whether it's because I'm in a VirtualBox host and it's somehow >> interfering with the tests? Anyway, I've attached the logs from a >> verbose run of both

Re: stty & stty-row-col test failures

2009-12-08 Thread Pádraig Brady
Jim Meyering wrote: > Thanks for tracking that down! > Would you please use "!=" in that test > and $(...) rather than `...` ? Sure, I was wary because of the mention of sunos in the test.

Re: new snapshot available: coreutils-8.1.24-7a2b0

2009-12-08 Thread Jim Meyering
Matthew Burgess wrote: > I get a 403 Forbidden error trying to download the latest ss tarballs > from both meyering.net & people.redhat.com. Hi Matthew. Rats. Thanks for the heads up. I've just fixed the permissions on both. That was fall-out from my switching a shell to a umask of 077. My uploa

Re: [PATCH] sort: fix failure if sort's parent has ignored SIGCHLD

2009-12-08 Thread Pádraig Brady
Pádraig Brady wrote: > The same issue as with the previous `timeout` patch. > The attached includes at test, but I'll probably remove > it because of the previously mentioned concerns. really attached this time. sorry >From 33904143eab537385ce1af58ea15c1876da402c7 Mon Sep 17 00:00:00 2001 From: =?

Re: stty & stty-row-col test failures

2009-12-08 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: >> Thanks for tracking that down! >> Would you please use "!=" in that test >> and $(...) rather than `...` ? > > Sure, I was wary because of the mention of sunos in the test. The configure-time test for a posix shell should cover us in the tests, since e

Re: [PATCH] timeout: fix failure if timeout's parent has ignored SIGCHLD

2009-12-08 Thread Pádraig Brady
Pádraig Brady wrote: > I'm a bit worried about doing the following in this patch. > It seems to work but I can see ignoring CHLD being > problematic for some shells/situations. > I'll probably push without the test. Oh it looks like tests/install/trap already addresses the portability concerns I w

Re: [PATCH] timeout: fix failure if timeout's parent has ignored SIGCHLD

2009-12-08 Thread Jim Meyering
Pádraig Brady wrote: > Pádraig Brady wrote: >> I'm a bit worried about doing the following in this patch. >> It seems to work but I can see ignoring CHLD being >> problematic for some shells/situations. >> I'll probably push without the test. > > Oh it looks like tests/install/trap already addresse

mv -v, cp -v messages should be different

2009-12-08 Thread jidanni
Gentlemen, I object. The messages for these two commands should be different. $ cp -v f g `f' -> `g' $ mv -v f g `f' -> `g' Exactly how different etc. I leave up to you. Maybe even just => for the latter instead of ->.

Re: mv -v, cp -v messages should be different

2009-12-08 Thread Pádraig Brady
jida...@jidanni.org wrote: > Gentlemen, I object. The messages for these two commands should be different. > $ cp -v f g > `f' -> `g' > $ mv -v f g > `f' -> `g' > Exactly how different etc. I leave up to you. Maybe even just => for the > latter instead of ->. I think it's fine from the context as

Re: build: distcheck: do not leave a $TMPDIR/coreutils directory behind

2009-12-08 Thread Jim Meyering
Jim Meyering wrote: > FYI, I should be pushing these soon, and then making a snapshot > within a couple hours: > > [PATCH 1/2] build: distcheck: do not leave a $TMPDIR/coreutils directory > behind aka, http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ae034822c535fa5 Now that there's a p

Re: git coreutils 'make check' hangs

2009-12-08 Thread Ralf Wildenhues
Hi Pádraig, * Pádraig Brady wrote on Tue, Dec 08, 2009 at 02:00:20AM CET: > Ralf Wildenhues wrote: > > for some time now, 'make check' in the git coreutils tree hangs for me: [...] > I think it may be a gdb issue: > http://lists.gnu.org/archive/html/bug-coreutils/2009-12/msg00025.htm > For the mom

new snapshot available: coreutils-8.1.30-0f8bb

2009-12-08 Thread Jim Meyering
This should be the final snapshot before coreutils-8.2, due tomorrow or Thursday. coreutils snapshot: (.gz files are here, too) http://meyering.net/cu/coreutils-ss.tar.xz 4.3 MB http://meyering.net/cu/coreutils-ss.tar.xz.sig http://meyering.net/cu/coreutils-8.1.30-0f8bb.tar.xz There ar

Re: git coreutils 'make check' hangs

2009-12-08 Thread Alan Curry
Ralf Wildenhues writes: > > Hi Pádraig, > > * Pádraig Brady wrote on Tue, Dec 08, 2009 at 02:00:20AM CET: > > Ralf Wildenhues wrote: > > > for some time now, 'make check' in the git coreutils tree hangs for me: > [...] > > I think it may be a gdb issue: > > http://lists.gnu.org/archive/html/bug-c

Re: new snapshot available: coreutils-8.1.30-0f8bb

2009-12-08 Thread Pádraig Brady
Passed Skipped Failed \- Fedora core 5 x86 | 363 48 0 Fedora 11 x86 | 362 49 0 Solaris 10 x86| 342 69 0 FreeBSD 6 x86 | 338

touching "-"

2009-12-08 Thread antonio
$ touch - && echo ok ok $ ls - ls: cannot access -: No such file or directory $ touch -- - && echo ok ok $ ls - ls: cannot access -: No such file or directory $ : > - $ ls - -

Re: touching "-"

2009-12-08 Thread Eric Blake
> $ touch - && echo ok > ok Not a bug - you successfully touched stdout (in this case, your terminal). Remember, many commands special case - to mean stdin or stdout if they operate well on a single file. > > $ ls - > ls: cannot access -: No such file or directory ls is not one of those comman