diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-01-15 07:38:56 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-01-15 07:38:56 +0000 |
| commit | 00711dbe923a848c29656fa52c6b9c345e2c3e26 (patch) | |
| tree | a123834ab81f7c325713a29e63fca0a862e10278 /devel/autoconf213/files/patch-ae | |
| parent | 1fba8b7cda8b809b98f24418c17cfe85c5f2c192 (diff) | |
Secure tempfile generation
Obtained from: OpenBSD
No Response From: Maintainer
Diffstat (limited to 'devel/autoconf213/files/patch-ae')
| -rw-r--r-- | devel/autoconf213/files/patch-ae | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/autoconf213/files/patch-ae b/devel/autoconf213/files/patch-ae new file mode 100644 index 000000000000..87e6102e3ba9 --- /dev/null +++ b/devel/autoconf213/files/patch-ae @@ -0,0 +1,11 @@ +--- autoheader.sh.orig Mon Nov 22 21:50:45 1999 ++++ autoheader.sh Mon Nov 22 21:52:02 1999 +@@ -194,7 +194,7 @@ + # 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.XXXXXXXXXX` || exit 1 + trap "rm -f $fgrep_tmp; exit 1" 1 2 15 + cat > $fgrep_tmp <<EOF + $syms |
