summaryrefslogtreecommitdiff
blob: 105eb549eb6dc8c671b535beb80ec1fae812fc2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- lib-src/vcdiff.~1~	1996-12-18 23:42:33.000000000 +0100
+++ lib-src/vcdiff	2008-04-09 08:20:36.000000000 +0200
@@ -79,14 +79,14 @@
 	case $f in
 	s.* | */s.*)
 		if
-			rev1=/tmp/geta$$
+			rev1=`mktemp /tmp/geta.XXXXXXXX`
 			get -s -p -k $sid1 "$f" > $rev1 &&
 			case $sid2 in
 			'')
 				workfile=`expr " /$f" : '.*/s.\(.*\)'`
 				;;
 			*)
-				rev2=/tmp/getb$$
+				rev2=`mktemp /tmp/getb.XXXXXXXX`
 				get -s -p -k $sid2 "$f" > $rev2
 				workfile=$rev2
 			esac