From: Jarkko Hietaniemi Date: Sat, 2 Dec 2000 17:54:32 +0000 (+0000) Subject: An inconvenient hang would happen if the stdio _ptr wasn't X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dcd7796ab9330335475a23f3bb99758a7fe5b8d4;p=p5sagit%2Fp5-mst-13.2.git An inconvenient hang would happen if the stdio _ptr wasn't found in and didn't exist. (grep would be grepping stdin for all eternity for the _ptr.) p4raw-id: //depot/perl@7954 --- diff --git a/Configure b/Configure index 5fdc2f1..30300d8 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 Fri Dec 1 22:20:01 EET 2000 [metaconfig 3.0 PL70] +# Generated on Sat Dec 2 18:39:37 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >/tmp/c1$$ </dev/null 2>&1 ; then echo "Your stdio uses unsigned chars." >&4 stdchar="unsigned char" else - : Solaris 7+ - if $contains 'unsigned.*char.*_ptr;' `./findhdr stdio_impl.h` >/dev/null 2>&1 ; then - echo "Your stdio uses unsigned chars." >&4 - stdchar="unsigned char" - else - echo "Your stdio uses signed chars." >&4 - stdchar="char" - fi + : Solaris 7+, others? + stdiohdr=`./findhdr stdio_impl.h` + case "$stdiohdr" in + '') ;; + *) if $contains 'unsigned.*char.*_ptr;' $stdiohdr >/dev/null 2>&1 ; then + echo "Your stdio uses unsigned chars." >&4 + stdchar="unsigned char" + else + echo "Your stdio uses signed chars." >&4 + stdchar="char" + fi + ;; + esac fi : see if time exists