Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/gnu/usr.bin/send-pr Pullup rev 1.21-1.22 via patch (req...
details: https://anonhg.NetBSD.org/src/rev/4fa5360bbaaf
branches: netbsd-1-6
changeset: 531235:4fa5360bbaaf
user: jmc <jmc%NetBSD.org@localhost>
date: Tue Apr 06 05:31:55 2004 +0000
description:
Pullup rev 1.21-1.22 via patch (requested by reed in ticket #1649)
Use mktemp(1) for safe temp files. PR#21840
diffstat:
gnu/usr.bin/send-pr/send-pr.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r e6e9e870ed2c -r 4fa5360bbaaf gnu/usr.bin/send-pr/send-pr.sh
--- a/gnu/usr.bin/send-pr/send-pr.sh Tue Apr 06 05:25:58 2004 +0000
+++ b/gnu/usr.bin/send-pr/send-pr.sh Tue Apr 06 05:31:55 2004 +0000
@@ -82,9 +82,9 @@
fi
fi
-TEMP=$TMPDIR/p$$
-BAD=$TMPDIR/pbad$$
-REF=$TMPDIR/pf$$
+TEMP=`mktemp -t p` || exit 1
+BAD=`mktemp -t pbad` || exit 1
+REF=`mktemp -t pf` || exit 1
# find a user name
if [ "$LOGNAME" = "" ]; then
Home |
Main Index |
Thread Index |
Old Index