diff options
author | harti <harti@FreeBSD.org> | 2005-05-12 14:16:44 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-12 14:16:44 +0000 |
commit | e7ab78380c4d30d28dbf699ac0bffeb881f56c83 (patch) | |
tree | 62f3bf0ee1d651af1f65a442f72505ae0f4ba19c /usr.bin/make/globals.h | |
parent | 1fd70549f81b5f11ba2eac3355822f193aae07b6 (diff) | |
download | FreeBSD-src-e7ab78380c4d30d28dbf699ac0bffeb881f56c83.zip FreeBSD-src-e7ab78380c4d30d28dbf699ac0bffeb881f56c83.tar.gz |
Fix the fix for bin/72510 applied in job.c:1.70. Actually there have
been two maxJobs variables: one static in job.c and one global used in
main.c and parse.c. Makeing one global out of these was the wrong way
to fix the problem. Instead rename the global one to jobLimit and keep
maxJobs static in job.c.
Suggested by: rwatson
PR: bin/72510
Diffstat (limited to 'usr.bin/make/globals.h')
-rw-r--r-- | usr.bin/make/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h index e23de1e..e6d1e65 100644 --- a/usr.bin/make/globals.h +++ b/usr.bin/make/globals.h @@ -69,6 +69,7 @@ extern struct Path parseIncPath; /* The system include path. */ extern struct Path sysIncPath; +extern int jobLimit; /* -j argument: maximum number of jobs */ extern Boolean jobsRunning; /* True if jobs are running */ extern Boolean compatMake; /* True if we are make compatible */ extern Boolean ignoreErrors; /* True if should ignore all errors */ |