Blame SOURCES/autoconf-2.12-race.patch

9cfdb5
--- autoconf-2.12/autoconf.sh.race	Thu Aug 27 19:01:23 1998
9cfdb5
+++ autoconf-2.12/autoconf.sh	Thu Aug 27 19:05:04 1998
9cfdb5
@@ -45,7 +45,7 @@
9cfdb5
 esac
9cfdb5
 
9cfdb5
 : ${TMPDIR=/tmp}
9cfdb5
-tmpout=${TMPDIR}/acout.$$
9cfdb5
+tmpout=`/bin/mktemp ${TMPDIR}/acout.XXXXXX`
9cfdb5
 localdir=
9cfdb5
 show_version=no
9cfdb5
 
9cfdb5
@@ -97,10 +97,10 @@
9cfdb5
 
9cfdb5
 trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
9cfdb5
 
9cfdb5
-tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
9cfdb5
+tmpin=`/bin/mktemp ${TMPDIR}/acin.XXXXXX`
9cfdb5
+# Always set this, to avoid bogus errors from some rm's.
9cfdb5
 if test z$infile = z-; then
9cfdb5
   infile=$tmpin
9cfdb5
-  cat > $infile
9cfdb5
 elif test ! -r "$infile"; then
9cfdb5
   echo "autoconf: ${infile}: No such file or directory" >&2
9cfdb5
   exit 1
9cfdb5
--- autoconf-2.12/autoheader.sh.race	Thu Aug 27 19:05:19 1998
9cfdb5
+++ autoconf-2.12/autoheader.sh	Thu Aug 27 19:08:18 1998
9cfdb5
@@ -194,9 +194,9 @@
9cfdb5
   # Some fgrep's have limits on the number of lines that can be in the
9cfdb5
   # pattern on the command line, so use a temporary file containing the
9cfdb5
   # pattern.
9cfdb5
-  (fgrep_tmp=${TMPDIR-/tmp}/autoh$$
9cfdb5
+  (fgrep_tmp=`/bin/mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX`
9cfdb5
    trap "rm -f $fgrep_tmp; exit 1" 1 2 15
9cfdb5
-   cat > $fgrep_tmp <
9cfdb5
+   cat >> $fgrep_tmp <
9cfdb5
 $syms
9cfdb5
 EOF
9cfdb5
    fgrep -f $fgrep_tmp
9cfdb5
--- autoconf-2.12/autoupdate.sh.race	Thu Aug 27 19:09:12 1998
9cfdb5
+++ autoconf-2.12/autoupdate.sh	Thu Aug 27 19:10:05 1998
9cfdb5
@@ -26,7 +26,7 @@
9cfdb5
 Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir] 
9cfdb5
        [--version] [template-file]" 
9cfdb5
 
9cfdb5
-sedtmp=/tmp/acups.$$
9cfdb5
+sedtmp=`/bin/mktemp /tmp/acups.XXXXXX`
9cfdb5
 # For debugging.
9cfdb5
 #sedtmp=/tmp/acups
9cfdb5
 show_version=no