fix error in configure script using >/dev/null in noclobber mode

This commit is contained in:
Rich Felker 2012-11-18 23:15:47 -05:00
parent 9565a349f2
commit 6c0cba819f

2
configure vendored
View File

@ -145,7 +145,7 @@ i=0
set -C
while : ; do i=$(($i+1))
tmpc="./conf$$-$PPID-$i.c"
2>/dev/null > "$tmpc" && break
2>|/dev/null > "$tmpc" && break
test "$i" -gt 50 && fail "$0: cannot create temporary file $tmpc"
done
set +C