Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/gnu/usr.bin/send-pr Pull up revisions 1.21-1.22 (reques...
details: https://anonhg.NetBSD.org/src/rev/4b09cee92fd7
branches: netbsd-2-0
changeset: 560238:4b09cee92fd7
user: jdc <jdc%NetBSD.org@localhost>
date: Mon Apr 05 06:33:02 2004 +0000
description:
Pull up revisions 1.21-1.22 (requested by reed in ticket #52).
use mktemp(1) for safe temp files.
oops; exit on failure with the previous.
diffstat:
gnu/usr.bin/send-pr/send-pr.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r 85e5b9078227 -r 4b09cee92fd7 gnu/usr.bin/send-pr/send-pr.sh
--- a/gnu/usr.bin/send-pr/send-pr.sh Mon Apr 05 06:07:18 2004 +0000
+++ b/gnu/usr.bin/send-pr/send-pr.sh Mon Apr 05 06:33:02 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