Blame SOURCES/autoconf-2.12-race.patch

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