[coreutils] test: fix a dash portability problem with redirected symlinked ttys

2010-11-09 Thread Pádraig Brady
Another bug I noticed with dash-0.5.6-2.fc11.i586 is that it doesn't redirect from symlinks correctly for background processes. $ dash -c tty /dev/stdin $ dash -c tty /dev/stdin /dev/pts/3 $ bash -c tty /dev/stdin /dev/pts/3 $ dash -c tty $(readlink -f /dev/stdin) /dev/pts/3 OK to apply the

Re: [coreutils] test: fix a dash portability problem with redirected symlinked ttys

2010-11-09 Thread Jim Meyering
Pádraig Brady wrote: Another bug I noticed with dash-0.5.6-2.fc11.i586 is that it doesn't redirect from symlinks correctly for background processes. $ dash -c tty /dev/stdin $ dash -c tty /dev/stdin /dev/pts/3 $ bash -c tty /dev/stdin /dev/pts/3 $ dash -c tty $(readlink -f

bug#7357: csplit: memory exhausted when using stdout / pipe instead of a file

2010-11-09 Thread Blinker| David Hofstee
unzip the file and then use csplit it works perfectly. However, these files get rather big (8GB+) so I want to let them go through a pipe. When I let the data go through a pipe it fails: dav...@xinker:~/scripts/csplittest/20101109/mysql$ zcat backup.gz | csplit -f db_ -n 4 - /--\ Current\ Database

bug#7359: sleep 9999999999

2010-11-09 Thread Matthew Bachmann
Here's what I'm running: m...@ita1bbx40,d1r17733u07 | uname -a Linux ita1bbx40 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux m...@ita1bbx40,d1r17733u07 | cat /etc/issue CentOS release 5.3 (Final) Kernel \r on an \m m...@ita1bbx40,d1r17733u07 | I'm in a

bug#7359: sleep 9999999999

2010-11-09 Thread Eric Blake
On 11/09/2010 12:31 PM, Matthew Bachmann wrote: sleep called with very big numbers returns immediately with success -Matt m...@ita1bbx40,d1r17733u07 | date; sleep 99 echo success; date; sleep --version Tue Nov 9 14:31:04 EST 2010 success Tue Nov 9 14:31:04 EST 2010 sleep