summaryrefslogtreecommitdiff
path: root/usr.bin/make/job.c
AgeCommit message (Expand)Author
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
2007-09-16first step towards sanity: take the functions common to parallel/not parallelMarc Espie
2007-06-12Fix a 10-year-old pointer-arithmetic bug in make,Constantine A. Murenin
2007-03-02strlen fixes from Charles Longeau.Ray Lai
2007-01-04having a function that iterates through node's datum so that we retrieveMarc Espie
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-11-29Spell precede correctly.Jonathan Gray
2004-07-19fix signal race in job.c: the signal handler only sets a flag, andMarc Espie
2004-04-07ISO function declarations, trim a few comments, rename a few variables toMarc Espie
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-06get rid of some strcpy/sprintf.Marc Espie
2003-02-18intial -> initial;Jason McIntyre
2002-07-31use fork, not vfork. seems to fix misterious trapframe trashing on hppa; dera...Michael Shalayeff
2002-06-12a real pid_t cleanup.Mike Pechkin