diff options
author | ru <ru@FreeBSD.org> | 2004-10-23 21:34:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-10-23 21:34:41 +0000 |
commit | 2f410fc7e2e8560258b86e1a9d71d559453140e9 (patch) | |
tree | 6c6a4b030e6179c38af1f4774457a0f5c68fea66 /usr.bin/make/job.h | |
parent | 80dc3e1bc2d61be3d57a34c9fdb4d5c0f07d93ea (diff) | |
download | FreeBSD-src-2f410fc7e2e8560258b86e1a9d71d559453140e9.zip FreeBSD-src-2f410fc7e2e8560258b86e1a9d71d559453140e9.tar.gz |
Expand the scope of the .SHELL specification to also cover
the compat mode of operation and the != operator.
While here, fixed a bug in the .SHELL directive processing
when only the name= attribute is specified and no built-in
shell matches this name, causing null pointer dereference.
Obtained from: NetBSD (except for bugs)
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r-- | usr.bin/make/job.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 284b16b..3dcad23 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -205,6 +205,9 @@ typedef struct Shell { char *exit; /* exit on error */ } Shell; +extern char *shellPath; +extern char *shellName; + /* * If REMOTE is defined then these things need exposed, otherwise they are * static to job.c! @@ -229,6 +232,7 @@ extern Boolean jobFull; /* Non-zero if no more jobs should/will start*/ extern int maxJobs; /* Number of jobs that may run */ +void Shell_Init(void); void Job_Touch(GNode *, Boolean); Boolean Job_CheckCommands(GNode *, void (*abortProc)(const char *, ...)); void Job_CatchChildren(Boolean); |