summaryrefslogtreecommitdiff
path: root/usr.bin/make/job.c
AgeCommit message (Expand)Author
2008-03-24bye, bye recalloc. Bad interface for various reasons.Marc Espie
2008-01-29A few changes:Marc Espie
2008-01-12better error reporting/job handling error:Marc Espie
2007-12-01I was sure I had committed this already, grrrr.Marc Espie
2007-11-28debug scaffolding: allows the insertion of a random delay before firing upMarc Espie
2007-11-10rename make -> must_make, made -> built_statusMarc Espie
2007-11-06get make.c in a more readable state, by extracting code into separateMarc Espie
2007-11-03simplify: Job_CheckCommands deals with silent and ignerr now, so there'sMarc Espie
2007-11-03token is a confusing name, rename to bannerMarc Espie
2007-11-03fix an obnoxious bug: in parallel mode, dieing in the job controller is notMarc Espie
2007-11-03zap confusing old commentMarc Espie
2007-11-03mark nodes as made when there is no command around the target.Marc Espie
2007-11-02Work done at p2k7.Marc Espie
2007-10-14allows node to be run twice, by not destroying the cmdnode contents.Marc Espie
2007-10-09factor out identical codeMarc Espie
2007-10-09cut up JobStart, prepare the job to be run in a separate functionMarc Espie
2007-10-09don't bother returning anything from JobStart, we don't look at it anywaysMarc Espie
2007-10-09minor refactor: introduce function start_queued_job, to make it more apparentMarc Espie
2007-10-09rename jobs to more descriptive runningJobs (and easier to grep)Marc Espie
2007-10-09just-in-time signal handling: do not setup the handlers until we need them.Marc Espie
2007-10-09rename functions for clarity.Marc Espie
2007-10-06replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@ espie@Constantine A. Murenin
2007-09-29simple refactoring: replace convoluted code with simple equivalent testMarc Espie
2007-09-29use constant FD_CLOEXEC, more readable than 1.Marc Espie
2007-09-29remove comment that no longer apply.Marc Espie
2007-09-23don't even attempt to reuse the same temp file name.Marc Espie
2007-09-23now, JOB_FIRST is always set, so kill more conditional code.Marc Espie
2007-09-23last parameter to JobStart is always NULL, so nuke it.Marc Espie
2007-09-23compatMake is never true in there, so kill dead code.Marc Espie
2007-09-23replace if (DEBUG(job)) { fprintf(stdout,...); fflush(stdout); }Marc Espie
2007-09-23kill local/jobs distinction. Correctly this time...Marc Espie
2007-09-23more specific error messages if dup2 failsMarc Espie
2007-09-23zap sunos bug work-aroundMarc Espie
2007-09-18reindent new partMarc Espie
2007-09-18revert maxLocal removal, there's something fishy going on.Marc Espie
2007-09-17rewrite of the basic suffix/target parsing: use hash for suffixes.Marc Espie
2007-09-17remove C99ismMarc Espie
2007-09-17make usePipes the default, zap undocumented -P.Marc Espie
2007-09-17one single printfMarc Espie
2007-09-17byebye shellspecsMarc Espie
2007-09-17we have valid err/echo flagsMarc Espie
2007-09-17we have echoctl and errctlMarc Espie
2007-09-17hardcode some more shellMarc Espie
2007-09-17start hardcoding the shell. we always run with sh anyways.Marc Espie
2007-09-17make DBPRINTF into a real function with variable number of argumentsMarc Espie
2007-09-17kill extra spaces at end of lineMarc Espie
2007-09-17kill += 1, -= 1 -> ++, --Marc Espie
2007-09-16reindentMarc Espie
2007-09-16remove warningsMarc Espie
2007-09-16kill .SHELL, make doesn't even support it in non-parallel mode.Marc Espie