From 16189bc670fa900c24753e3318a9a20ca13e2ef5 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 17 Jan 2000 06:43:41 +0000 Subject: Create tempfiles securely. Reviewed by: imp --- usr.bin/make/job.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/make/job.h') diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 87aef22..fec55f7 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -93,6 +93,8 @@ #define JOB_BUFSIZE 1024 typedef struct Job { int pid; /* The child's process ID */ + char tfile[sizeof(TMPPAT)]; + /* Temporary file to use for job */ GNode *node; /* The target the child is making */ LstNode tailCmds; /* The node of the first command to be * saved when the job has been run */ -- cgit v1.1