NetBSD/usr.bin/make
dsl 56564e27f6 Complete revamp of the way make handles job control signals.
- Send each type of signal to its own handler.
- Only call JobFinish when a process exits, in particular don't 'fake up'
  'exitstatus' for jobs being continued, nor call it for suspends.
- When a job is stopped, use an entire variable to remember the fact, so
  we know we need to send a SIGCONT.  Don't change any other state.
- In order to report '*** [job3] Suspended' before we suspend ourselves we
  have to call waitpid() from the signal handler - where we don't want to
  process job termination events. Save the exit status and process later.
The code now handles:
- jobs that suspend themselves
- jobs exiting while suspended
- jobs that don't actually suspend at all
Hoewever it still does printfs() from the signal handler, and I haven't yet
stopped it thrashing the signal mask.
2006-09-23 20:51:28 +00:00
..
lst.lib Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
PSD.doc
unit-tests Remove the modterm case from moderrs, the syntax errors 2006-05-11 18:48:33 +00:00
arch.c Fixed gcc warnings about signed vs. unsigned in comparisons. 2006-06-29 22:02:06 +00:00
buf.c From Max Okumoto: 2005-08-08 16:42:54 +00:00
buf.h
compat.c Coverity CID 530: Don't leak the argument vector. 2006-04-22 18:43:06 +00:00
cond.c Add debug output for CondDoExists() - the results can be surprising. 2006-07-28 17:07:33 +00:00
config.h
dir.c Coverity CID 528: Avoid NULL deref. 2006-04-22 18:47:10 +00:00
dir.h
for.c Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
hash.c remove unnecessary casts to void * functions (Max Okumoto) 2005-08-04 00:20:12 +00:00
hash.h
job.c Complete revamp of the way make handles job control signals. 2006-09-23 20:51:28 +00:00
job.h Complete revamp of the way make handles job control signals. 2006-09-23 20:51:28 +00:00
lst.h Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
main.c Fix non-native build. 2006-08-26 22:19:03 +00:00
make.1 Fixed the bug reported in PR 33866, which is that the :Q operator does not 2006-06-29 22:01:17 +00:00
make.c Complete revamp of the way make handles job control signals. 2006-09-23 20:51:28 +00:00
make.h Don't include <util.h> if we are not NetBSD. Other OS's don't have it. 2006-08-26 22:13:00 +00:00
Makefile protect libutil with HOSTPROG 2006-08-29 16:54:03 +00:00
Makefile.boot
nonints.h Fix non-native build. 2006-08-26 22:19:03 +00:00
parse.c More programs using efun. 2006-08-26 18:17:41 +00:00
pathnames.h revert previous for now 2005-06-24 04:33:25 +00:00
sprite.h More KNF cleanups from Max Okumoto 2005-08-05 00:53:18 +00:00
str.c If a word is "" eat the last quote since we ate the first. 2006-08-11 19:11:00 +00:00
suff.c Fixed gcc warnings about signed vs. unsigned in comparisons. 2006-06-29 22:02:06 +00:00
targ.c Make ".WAIT" apply recursively to all children of nodes on the right 2006-02-26 22:45:46 +00:00
trace.c Expunge last references to jobTokensFree 2006-01-04 21:35:44 +00:00
trace.h Fix enum for better portability 2006-02-18 01:28:48 +00:00
util.c From Max Okumoto: 2005-08-08 16:42:54 +00:00
var.c More programs using efun. 2006-08-26 18:17:41 +00:00