From: Jarkko Hietaniemi Date: Tue, 19 Jun 2001 19:38:20 +0000 (+0000) Subject: AIX test -s hangs with non-existent files? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fbe73d7487b711e17b2287e5271f3fb24da62e53;p=p5sagit%2Fp5-mst-13.2.git AIX test -s hangs with non-existent files? (A genuine logic bug in Configure, but AIX also broken?) p4raw-id: //depot/perl@10732 --- diff --git a/Configure b/Configure index e7d4ced..429af23 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Jun 19 02:14:42 EET DST 2001 [metaconfig 3.0 PL70] +# Generated on Tue Jun 19 23:31:51 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ </dev/null $rm -f try.out + $run ./try 2>/dev/null $from try.out if $test ! -s try.out -a "X$?" = X42; then output=-DTRY_FPUTC @@ -13802,8 +13802,8 @@ if $test "X$fflushNULL" = X -o "X$fflushall" = X; then '') set try -DTRY_FPRINTF if eval $compile; then - $run ./try 2>/dev/null $rm -f try.out + $run ./try 2>/dev/null $from try.out if $test ! -s try.out -a "X$?" = X42; then output=-DTRY_FPRINTF @@ -13816,9 +13816,9 @@ fi case "$fflushNULL" in '') set try -DTRY_FFLUSH_NULL $output if eval $compile; then + $rm -f try.out $run ./try 2>/dev/null code="$?" - $rm -f try.out $from try.out if $test -s try.out -a "X$code" = X42; then fflushNULL="`$cat try.out`" @@ -13943,6 +13943,7 @@ EOM EOM $rm -f try.out $run ./try 2>/dev/null + $from try.out if $test -s try.out -a "X$?" = X42; then fflushall="`$cat try.out`" fi