]> git.pld-linux.org Git - packages/arpwatch.git/blame - arpwatch-debian_22secure_tempfile.patch
- 2.1a15
[packages/arpwatch.git] / arpwatch-debian_22secure_tempfile.patch
CommitLineData
e2fb63d0
TP
1Index: arpwatch/bihourly
2diff -u arpwatch/bihourly:1.1.1.1 arpwatch/bihourly:1.1.1.1.18.1
530b6344 3--- arpwatch/bihourly.sh:1.1.1.1 Tue Apr 17 13:31:36 2001
4+++ arpwatch/bihourly.sh Wed Aug 11 21:54:18 2004
5@@ -10,8 +10,8 @@
e2fb63d0 6 #
530b6344 7 list="`cat list`"
8 cname="`cat cname`"
9-temp1=/tmp/bihourly.1.$$
10-temp2=/tmp/bihourly.2.$$
11-d=/tmp/errs
12+temp1=`mktemp`
13+temp2=`mktemp`
14+d=`mktemp -d`
15
16 # imperfect hack
e2fb63d0
TP
17Index: arpwatch/mkdep
18diff -u arpwatch/mkdep:1.1.1.1 arpwatch/mkdep:1.1.1.1.18.1
19--- arpwatch/mkdep:1.1.1.1 Tue Apr 17 13:31:37 2001
20+++ arpwatch/mkdep Wed Aug 11 21:54:18 2004
21@@ -51,7 +51,7 @@
22 exit 1
23 fi
24
25-TMP=/tmp/mkdep$$
530b6344 26+TMP=`mktemp -p mkdep -s .tmp`
e2fb63d0
TP
27
28 trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
29
This page took 0.117763 seconds and 4 git commands to generate.