summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-12-08 09:00:47 +0000
committerjmg <jmg@FreeBSD.org>1997-12-08 09:00:47 +0000
commit525153d523dccfdc27794d17e85adcb5775ef38f (patch)
treec3413ee1f8701ac138ae48f5cd22d33a03b2f37f /sys/kern/makesyscalls.sh
parent689d237056a2050716451b53f1b45740d61b4428 (diff)
downloadFreeBSD-src-525153d523dccfdc27794d17e85adcb5775ef38f.zip
FreeBSD-src-525153d523dccfdc27794d17e85adcb5775ef38f.tar.gz
add process id to tmp files... this prevents two runs from stomping
over each other's tmp files... (usr.bin/truss uncovered this bug)
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 4fb0ae5..c888e03 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -1,6 +1,6 @@
#! /bin/sh -
# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
-# $Id: makesyscalls.sh,v 1.25 1997/10/26 20:27:48 phk Exp $
+# $Id: makesyscalls.sh,v 1.26 1997/11/18 03:34:39 peter Exp $
set -e
@@ -19,12 +19,12 @@ switchname="sysent"
namesname="syscallnames"
# tmp files:
-sysdcl="sysent.dcl"
-syscompat="sysent.compat"
-syscompatdcl="sysent.compatdcl"
-sysent="sysent.switch"
-sysinc="sysinc.switch"
-sysarg="sysarg.switch"
+sysdcl="sysent.dcl.$$"
+syscompat="sysent.compat.$$"
+syscompatdcl="sysent.compatdcl.$$"
+sysent="sysent.switch.$$"
+sysinc="sysinc.switch.$$"
+sysarg="sysarg.switch.$$"
trap "rm $sysdcl $syscompat $syscompatdcl $sysent $sysinc $sysarg" 0
OpenPOWER on IntegriCloud