[coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Nelson H. F. Beebe wrote: [...there appears to be a hang in make check on FreeBSD...] PASS: misc/id-groups SKIP: misc/md5sum SKIP: misc/md5sum-newline PASS: misc/md5sum-parallel PASS: misc/mknod Hi Nelson, [Cc'ing the list] Thanks for the heads up and for all the testing. The test

[coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Andreas Schwab
Jim Meyering jim-oxw1nkzkivjk1umjsbk...@public.gmane.org writes: For the record, I reduced it to this, where /bin/sh is /usr/local/bin/bash, which is 4.1.7: cat \EOF init.cfg f() { case $IFS in '') exit 91;; esac local s=$IFS case $s in '') exit 97;; esac } f EOF $ /bin/sh -c

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Andreas Schwab
Jim Meyering j...@meyering.net writes: Here's a better test case: $ /bin/sh -c 'f(){ local s=$IFS; test -n $s; }; f' [Exit 1] And based on that, here's a patch to gnulib's tests/init.sh that solves the problem more generally: (but this is not enough for coreutils, since some

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Andreas Schwab wrote: Jim Meyering j...@meyering.net writes: Here's a better test case: $ /bin/sh -c 'f(){ local s=$IFS; test -n $s; }; f' [Exit 1] And based on that, here's a patch to gnulib's tests/init.sh that solves the problem more generally: (but this is not enough for

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Eric Blake
On 11/06/2010 08:19 AM, Jim Meyering wrote: Andreas Schwab wrote: Jim Meyering j...@meyering.net writes: Here's a better test case: $ /bin/sh -c 'f(){ local s=$IFS; test -n $s; }; f' [Exit 1] And based on that, here's a patch to gnulib's tests/init.sh that solves the problem

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Eric Blake wrote: On 11/06/2010 08:19 AM, Jim Meyering wrote: Andreas Schwab wrote: Jim Meyering j...@meyering.net writes: Here's a better test case: $ /bin/sh -c 'f(){ local s=$IFS; test -n $s; }; f' [Exit 1] And based on that, here's a patch to gnulib's tests/init.sh that

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Jim Meyering
Andreas Schwab wrote: Jim Meyering j...@meyering.net writes: IMHO, the fact that VAR=$OTHER_VAL never needs quotes should imply that `local VAR=$OTHER_VAL' also requires no quotes. I wonder where POSIX requires or even allows that export VAR=$foo does not perform word splitting (although

Re: [coreutils] Re: Builds of coreutils-8.6.19-1369f

2010-11-06 Thread Ralf Wildenhues
Hello, * Jim Meyering wrote on Sat, Nov 06, 2010 at 02:55:47PM CET: Jim Meyering wrote: Andreas Schwab wrote: Jim Meyering writes: cat \EOF init.cfg f() { case $IFS in '') exit 91;; esac local s=$IFS case $s in '') exit 97;; esac } f EOF $ /bin/sh -c '. init.cfg'