Subject: CVS commit: src/usr.bin/make
To: None <>
From: David Laight <>
List: source-changes
Date: 01/04/2006 21:31:55
Module Name:	src
Committed By:	dsl
Date:		Wed Jan  4 21:31:55 UTC 2006

Modified Files:
	src/usr.bin/make: job.c job.h main.c

Log Message:
When a parallel make job completes, always put the job token back into the
job_pipe and collect another one for the next job.
If we are aborting, remove all the 'normal' job tokens and add an 'error' one.
If we get an 'error' token, remove any other tokens, re-insert the error
token and exit (with error 'cos that is easier).
Add the current pid to some of the DEBUG(JOB) traces.
Combined effect is that parallel makes actually stop some fairly shortly
after an error, rather than running on long enough to fill the scrollback.

To generate a diff of this commit:
cvs rdiff -r1.100 -r1.101 src/usr.bin/make/job.c
cvs rdiff -r1.21 -r1.22 src/usr.bin/make/job.h
cvs rdiff -r1.116 -r1.117 src/usr.bin/make/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.