Blame SOURCES/autoconf-2.12-race.patch

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