Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-09 | don't bother returning anything from JobStart, we don't look at it anyways | Marc Espie | |
2007-10-09 | minor refactor: introduce function start_queued_job, to make it more apparent | Marc Espie | |
JobStart and JobRestart often do the same thing. Move JobMakeArgv call around for similar reasons. Introduce new list (queuedJobs) we don't use yet. | |||
2007-10-09 | rename jobs to more descriptive runningJobs (and easier to grep) | Marc Espie | |
2007-10-09 | just-in-time signal handling: do not setup the handlers until we need them. | Marc Espie | |
2007-10-09 | rename functions for clarity. | Marc Espie | |
Add a global `got_signals' to quick-path thru handle_all_signals. remove most of the #ifdef USE_PGRP cruft: always be ready to handle those signals, just do not define a handler for them yet. | |||
2007-10-06 | replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@ espie@ | Constantine A. Murenin | |
2007-09-29 | simple refactoring: replace convoluted code with simple equivalent test | Marc Espie | |
structure. | |||
2007-09-29 | use constant FD_CLOEXEC, more readable than 1. | Marc Espie | |
zap comment that should have gone with setting use_pipes. | |||
2007-09-29 | remove comment that no longer apply. | Marc Espie | |
Replace a stupid comment with something that makes sense. (this function needs a rewrite, it's incredibly stupid anyways) | |||
2007-09-23 | don't even attempt to reuse the same temp file name. | Marc Espie | |
Just create a new one each time we need it, and kill the file right away. | |||
2007-09-23 | now, JOB_FIRST is always set, so kill more conditional code. | Marc Espie | |
(taken from NetBSD) | |||
2007-09-23 | last parameter to JobStart is always NULL, so nuke it. | Marc Espie | |
2007-09-23 | compatMake is never true in there, so kill dead code. | Marc Espie | |
2007-09-23 | zap keywords we don't have. remove exercise that says we don't have $$V, | Marc Espie | |
since we do ;) | |||
2007-09-23 | put parsing of operator (:, ::, !) into its own function | Marc Espie | |
2007-09-23 | replace if (DEBUG(job)) { fprintf(stdout,...); fflush(stdout); } | Marc Espie | |
with a debug_printf() function. Maybe slightly slower, but it's ways easier to read. | |||
2007-09-23 | kill local/jobs distinction. Correctly this time... | Marc Espie | |
2007-09-23 | more specific error messages if dup2 fails | Marc Espie | |
2007-09-23 | zap sunos bug work-around | Marc Espie | |
2007-09-22 | rename functions and data structures for clarity | Marc Espie | |
2007-09-22 | reindent | Marc Espie | |
2007-09-18 | reindent cond.c | Marc Espie | |
2007-09-18 | better comments, sNum -> order. SUFF_EXISTS -> SUFF_ACTIVE | Marc Espie | |
2007-09-18 | internal macro should be invisible from outside | Marc Espie | |
2007-09-18 | reindent a few lines in parse.c which are missing it. | Marc Espie | |
2007-09-18 | make -DCLEANUP compile again | Marc Espie | |
2007-09-18 | reindent new part | Marc Espie | |
2007-09-18 | missing prototype for static function | Marc Espie | |
2007-09-18 | revert maxLocal removal, there's something fishy going on. | Marc Espie | |
2007-09-17 | avoid printing out special targets in debug mode | Marc Espie | |
2007-09-17 | always define the svr4namelist. Doesn't hurt, even if we don't use it. | Marc Espie | |
2007-09-17 | rewrite of the basic suffix/target parsing: use hash for suffixes. | Marc Espie | |
Store special targets in target hash, and use them for the parsing. Use OP_DUMMY flag to mark targets that don't really exist yet, such as interrupt and default nodes. Also, .PATHxxx is special in suffixes. Small tweaks to compat.c, so that run_commands does more stuff after the fork() (and thus no need to free things). Remove distinction between local and global jobs. | |||
2007-09-17 | reindent | Marc Espie | |
2007-09-17 | fix indent | Marc Espie | |
2007-09-17 | reorg the directory code a bit. | Marc Espie | |
Instead of readDir, explicitly create PathEntry, and increment the refcount in there, which is simpler. | |||
2007-09-17 | minor tweaks | Marc Espie | |
2007-09-17 | separate rewrite_times function | Marc Espie | |
2007-09-17 | better variable name | Marc Espie | |
2007-09-17 | remove C99ism | Marc Espie | |
2007-09-17 | make usePipes the default, zap undocumented -P. | Marc Espie | |
2007-09-17 | one single printf | Marc Espie | |
2007-09-17 | remove prototypes that now live in engine.h, adjust suff.c accordingly | Marc Espie | |
2007-09-17 | clean-up Parse_File toplevel: add functions to make it clearer what's going | Marc Espie | |
on. Start getting rid of globals by passing explicit parameters | |||
2007-09-17 | Parse_DoVar -> Parse_As_Var_Assignment | Marc Espie | |
2007-09-17 | parseIncPath -> userIncludePath and assorted renames | Marc Espie | |
2007-09-17 | more blank space removal | Marc Espie | |
2007-09-17 | byebye shellspecs | Marc Espie | |
2007-09-17 | we have valid err/echo flags | Marc Espie | |
2007-09-17 | we have echoctl and errctl | Marc Espie | |
2007-09-17 | hardcode some more shell | Marc Espie | |