Blame SOURCES/autoconf-2.12-race.patch

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