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