NetBSD/usr.bin/make
dsl 505a3bb2b7 There is no need to resize the pollfd array, it can only ever have 2+maxJobs
entries, so allocate at startup.
Use an 'int jobPipe[2]' within the job structure, and create pipes directly
into it.  Common up the code that creates all the pipes - making them all
non-block on the read side in the process.
Call Job_CatchChildren() directly from Job_CatchOutput() so that it only
gets called when a child actually exits.
NB: Something causes a 'pregnant pause' if (for example) you call 'nbmake obj'
in src/tools.  Introduced between netbsd 3 and 4.
2006-10-11 07:01:44 +00:00
..
PSD.doc Fit ASCII output onto an 80-column terminal. From FreeBSD. 2004-06-27 19:12:33 +00:00
lst.lib Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
unit-tests Remove the modterm case from moderrs, the syntax errors 2006-05-11 18:48:33 +00:00
Makefile WFORMAT is no more... 2006-10-08 17:52:28 +00:00
Makefile.boot Simplify build, no functional changes. 2004-05-07 00:04:38 +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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
compat.c In a non-native build, always use a shell to execute commands. This may 2006-10-09 20:46:33 +00:00
cond.c Add debug output for CondDoExists() - the results can be surprising. 2006-07-28 17:07:33 +00:00
config.h Allow make(1) to be built with something other than "sh" as the 2006-10-09 20:44:35 +00:00
dir.c Coverity CID 528: Avoid NULL deref. 2006-04-22 18:47:10 +00:00
dir.h add parent directory search for make as discussed on tech-toolchain. 2004-02-03 19:25:29 +00:00
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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
job.c There is no need to resize the pollfd array, it can only ever have 2+maxJobs 2006-10-11 07:01:44 +00:00
job.h There is no need to resize the pollfd array, it can only ever have 2+maxJobs 2006-10-11 07:01:44 +00:00
lst.h Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
main.c There is no need to resize the pollfd array, it can only ever have 2+maxJobs 2006-10-11 07:01:44 +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 There is no need to resize the pollfd array, it can only ever have 2+maxJobs 2006-10-11 07:01:44 +00:00
make.h Rip out the code for the undocumented -P (don't use pipes for command 2006-10-09 14:36:41 +00:00
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