Browse Source

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

Rich Felker 12 years ago
parent
commit
6c0cba819f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure

+ 1 - 1
configure

@@ -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