Submitted By: Tushar Teredesai Date: 2006-01-17 Initial Package Version: 2.13 Origin: Fedora Upstream Status: Not submitted, old version. Description: Use mktemp to create temporary files --- autoconf-2.12/autoconf.sh.race Thu Aug 27 19:01:23 1998 +++ autoconf-2.12/autoconf.sh Thu Aug 27 19:05:04 1998 @@ -45,7 +45,7 @@ esac : ${TMPDIR=/tmp} -tmpout=${TMPDIR}/acout.$$ +tmpout=`mktemp ${TMPDIR}/acout.XXXXXX` localdir= show_version=no @@ -97,10 +97,10 @@ trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15 -tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's. +tmpin=`mktemp ${TMPDIR}/acin.XXXXXX` +# Always set this, to avoid bogus errors from some rm's. if test z$infile = z-; then infile=$tmpin - cat > $infile elif test ! -r "$infile"; then echo "autoconf: ${infile}: No such file or directory" >&2 exit 1 --- autoconf-2.12/autoheader.sh.race Thu Aug 27 19:05:19 1998 +++ autoconf-2.12/autoheader.sh Thu Aug 27 19:08:18 1998 @@ -194,9 +194,9 @@ # Some fgrep's have limits on the number of lines that can be in the # pattern on the command line, so use a temporary file containing the # pattern. - (fgrep_tmp=${TMPDIR-/tmp}/autoh$$ + (fgrep_tmp=`mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX` trap "rm -f $fgrep_tmp; exit 1" 1 2 15 - cat > $fgrep_tmp <> $fgrep_tmp <