diff options
author | kris <kris@FreeBSD.org> | 2000-01-17 06:43:41 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-01-17 06:43:41 +0000 |
commit | 16189bc670fa900c24753e3318a9a20ca13e2ef5 (patch) | |
tree | 49ab7fa3751ba07db7e8920464b52cb3e261fa0c /usr.bin/make/job.h | |
parent | c6b837370821a24c417a02795813a1bf26e1246b (diff) | |
download | FreeBSD-src-16189bc670fa900c24753e3318a9a20ca13e2ef5.zip FreeBSD-src-16189bc670fa900c24753e3318a9a20ca13e2ef5.tar.gz |
Create tempfiles securely.
Reviewed by: imp
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r-- | usr.bin/make/job.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |