Re: two netbsd 1.6 test failures: skip-seek-past-file and install-C

2009-02-26 Thread Jim Meyering
Pádraig Brady wrote: FAIL: dd/skip-seek-past-file.log (exit: 1) -dd: `standard input': cannot skip: Value too large for defined data type +dd: `standard input': cannot skip: Value too large to be stored in data type This should be addressed by the attached patch. ... Subject: [PATCH] tests:

Re: bug in join command

2009-02-26 Thread James Youngman
On Wed, Feb 25, 2009 at 8:20 PM, Laurent Manchon lmanc...@univ-montp2.fr wrote: -- Hi, i have used a join command as: join -1 1 -2 1 -o 2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9 file.test V.test with the files i send you in attachment(files.zip). This command returns only 55 lines. The real

Re: sort b option in pos2 has strange effect

2009-02-26 Thread Pádraig Brady
I've tweaked the patch a bit to simplify some code and expect to push it soon. Thanks to my friendly LUG I confirmed that solaris 9 and 10 behave as expected for these commands: printf a a b\nz a a\n | sort -k2,3.0 printf a y\na z\n | sort -k1,1b cheers, Pádraig. From

Re: bug in join command

2009-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Laurent Manchon on 2/25/2009 1:20 PM: -- Hi, i have used a join command as: join -1 1 -2 1 -o 2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9 file.test V.test with the files i send you in attachment(files.zip). This command returns only 55

Re: bug in join command

2009-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 2/26/2009 6:12 AM: According to Laurent Manchon on 2/25/2009 1:20 PM: -- Hi, with the files i send you in attachment(files.zip). It's likely that your files aren't properly sorted. While I didn't validate your

Re: sort b option in pos2 has strange effect

2009-02-26 Thread Jim Meyering
Pádraig Brady wrote: I've tweaked the patch a bit to simplify some code and expect to push it soon. Thanks to my friendly LUG I confirmed that solaris 9 and 10 behave as expected for these commands: printf a a b\nz a a\n | sort -k2,3.0 printf a y\na z\n | sort -k1,1b cheers, Pádraig.

Re: bug in join command

2009-02-26 Thread Pádraig Brady
Eric Blake wrote: According to Eric Blake on 2/26/2009 6:12 AM: According to Laurent Manchon on 2/25/2009 1:20 PM: -- Hi, with the files i send you in attachment(files.zip). It's likely that your files aren't properly sorted. While I didn't validate your attachments, Actually, I couldn't

coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro

2009-02-26 Thread Stuart Shelton
The MIPSpro compiler is strict with variadic macros, requiring a macro defined as function(x,...) to be invoked with a minimum of two arguments (one for 'x', and at least one for the '...') coreutils-7.1 therefore requires this patch: --- lib/argv-iter.h.dist2009-02-25

Re: bug in join command

2009-02-26 Thread Laurent MANCHON
okay the problem is over, i have found my error: join command need to have files with a common field sorted with alphanumerical order and not numerical order (sort -n). James Youngman a écrit : On Wed, Feb 25, 2009 at 8:20 PM, Laurent Manchon lmanc...@univ-montp2.fr wrote: -- Hi, i have

Re: sort b option in pos2 has strange effect

2009-02-26 Thread Pádraig Brady
Jim Meyering wrote: Pádraig Brady wrote: I've tweaked the patch a bit to simplify some code and expect to push it soon. Thanks to my friendly LUG I confirmed that solaris 9 and 10 behave as expected for these commands: printf a a b\nz a a\n | sort -k2,3.0 printf a y\na z\n | sort -k1,1b

Re: coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro

2009-02-26 Thread Eric Blake
According to Stuart Shelton on 2/26/2009 5:37 AM: Hello Stuart, The MIPSpro compiler is strict with variadic macros, requiring a macro defined as function(x,...) to be invoked with a minimum of two arguments (one for 'x', and at least one for the '...') coreutils-7.1 therefore requires

Re: coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro

2009-02-26 Thread Jim Meyering
Eric Blake wrote: According to Stuart Shelton on 2/26/2009 5:37 AM: Hello Stuart, The MIPSpro compiler is strict with variadic macros, requiring a macro defined as function(x,...) to be invoked with a minimum of two arguments (one for 'x', and at least one for the '...') coreutils-7.1

Re: sort b option in pos2 has strange effect

2009-02-26 Thread Jim Meyering
Pádraig Brady wrote: ... - /* If we're ignoring leading blanks when computing the End - of the field, don't start counting bytes until after skipping - past any leading blanks. */ - if (key-skipeblanks) -while (ptr lim blanks[to_uchar (*ptr)]) - ++ptr; + if (echar !=

Re: coreutils-7.1 requires trivial patch to build on IRIX/MIPSpro

2009-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 2/26/2009 6:50 AM: Perhaps this approach would be better, Jim? Yes, indeed! That looks much better. Thanks to both of you. ... - _ATTRIBUTE_NONNULL_ (1, 2); + _ATTRIBUTE_NONNULL_ (1) _ATTRIBUTE_NONNULL_ (2);

Re: sort b option in pos2 has strange effect

2009-02-26 Thread Jim Meyering
For each fix, I usually try to determine when the bug was introduced and mention that in NEWS. Both of these date back to the very beginning, since sort from textutils-1.13 (yes, I actually built it ;-) exhibits the same incorrect behavior, and the code in that function barely changed between my

[PATCH] tests: stty-row-col would hang when run in the background

2009-02-26 Thread Jim Meyering
This makes the final stty test also ignore SIGTTOU. From 3a914fa76dab3a4ee3dd2683866eeb664f505a00 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Thu, 26 Feb 2009 20:25:42 +0100 Subject: [PATCH] tests: stty-row-col would hang when run in the background *

ls (GNU coreutils) 6.12 bug: -d or --directory switch broken

2009-02-26 Thread gero...@bluewin.ch
Hi, I installed this version of coreutils to get proper accent support in french pathnames, but the ls command for managing directories silently fails. I am kind of surprised no one noticed or that there is no regression test for such a bug, and that it was already noticed earlier. Am I

[PATCH 1/2] maint: remove an unnecessary inclusion of signal.h

2009-02-26 Thread Jim Meyering
I spotted an unnecessary inclusion of signal.h, and then wrote the code to add signal.h to the list of headers make syntax-check tells you about when they're included without a use. Figuring out how to use $(subst with a space as an argument (aka how to set _sp to a space in a GNU makefile) was

Re: ls (GNU coreutils) 6.12 bug: -d or --directory switch broken

2009-02-26 Thread Philip Rowlands
On Thu, 26 Feb 2009, gero...@bluewin.ch wrote: I installed this version of coreutils to get proper accent support in french pathnames, but the ls command for managing directories silently fails. Could you give an example of the exact command you ran, what output was generated, and what

Error on command Sort on linux

2009-02-26 Thread ozwin pais
Hi , We have RHEL 4( Linux 2.6.9-22.ELsmp) installed box. when we execute sort -z 65536 filename its giving error please find below. # sort -z 65536 geo_panelist /NOPRODUCTID /silent /infile geo_panelist 65536 /keys 1 /outfile

cp -rl dir dir in 7.1 not so great

2009-02-26 Thread Mikael Magnusson
In my old 6.x something, cp would just say cp: cannot copy a directory, `dir', into itself, `dir/dir' (it would still do it, but only once) In 7.1 I get a result like this: % timeout 1 cp -rl dir dir % ls -R dir|wc -l 1063 Without the -l it still behaves properly. -- Mikael Magnusson

Re: Error on command Sort on linux

2009-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to ozwin pais on 2/26/2009 4:42 PM: Hi , We have RHEL 4( Linux 2.6.9-22.ELsmp) installed box. when we execute sort -z 65536 filename its giving error please find below. #