Jim Meyering <[EMAIL PROTECTED]> wrote:
Cornelis de Gier <[EMAIL PROTECTED]> wrote:

Would you please see if the following works on your system?
The `$deep' should be `$tmp'.

( ulimit -s 50; du -s $tmp > /dev/null ) || fail=1

If my system can do it with 8KB of stack, yours should be
able to do it in no more than 50KB.

If not, please try to find the smallest value larger than 50
that works for you.

Lower values up to 800 cause du to segfault 9 in 10 cases, around 1500 du segfaults about 1 in 10 cases. From 2000 du doesn't seem to segfault.


Fedora Core 1 on Pentium 4
Linux 2.4.22-1.2149.nptl
bash, version 2.05b.0(1)-release
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
CFLAGS=-O2 -march=pentium4

Same result for CFLAGS=-O2


Cornelis


_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to