summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-09-17rewrite 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-17reindentMarc Espie
2007-09-17fix indentMarc Espie
2007-09-17reorg the directory code a bit.Marc Espie
Instead of readDir, explicitly create PathEntry, and increment the refcount in there, which is simpler.
2007-09-17minor tweaksMarc Espie
2007-09-17separate rewrite_times functionMarc Espie
2007-09-17better variable nameMarc 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-17remove prototypes that now live in engine.h, adjust suff.c accordinglyMarc Espie
2007-09-17clean-up Parse_File toplevel: add functions to make it clearer what's goingMarc Espie
on. Start getting rid of globals by passing explicit parameters
2007-09-17put $OpenBSD$ back, noted by Dries SchellekensOtto Moerbeek
2007-09-17Parse_DoVar -> Parse_As_Var_AssignmentMarc Espie
2007-09-17parseIncPath -> userIncludePath and assorted renamesMarc Espie
2007-09-17more blank space removalMarc 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-17reindent garray.h, add new function, to be used laterMarc Espie
2007-09-17Imported atomicio interface.Tobias Stoeckmann
Requested by ray@, OK joris@
2007-09-17fix the arch code mostly.Marc Espie
- stop using sprintf for code that can use our buffers. - stop modifying parsed line, rely on Var_Substi instead. to do that, we need to go through an intermediate routine that uses one single buffer to build archive names. also introduce an add_archive_node function that makes things way simpler. also rename a few variables.
2007-09-17allow build on 64-bit archsOtto Moerbeek
2007-09-17forgot one spaceMarc Espie
2007-09-17more zap spacesMarc Espie
2007-09-17zap more spaces at end of lineMarc Espie
2007-09-17partial reindentMarc Espie
2007-09-17kill extra spaces at end of lineMarc Espie
2007-09-17reindentMarc Espie
2007-09-17reindent, zap useless commentsMarc Espie
2007-09-17kill += 1, -= 1 -> ++, --Marc Espie
2007-09-17checked malloc/calloc calls. from ragge's repo, originally from StefanOtto Moerbeek
Kempf.
2007-09-17rm unused -Dos_${TARGOS}Todd T. Fries
ok otto@
2007-09-16I can't think of any good reason to inline this.Kjell Wooding
Makes pcc happier, to boot.
2007-09-16Merge from ragge's tree:Otto Moerbeek
Needed an extra check for leal to avoid --. Reported by otto.
2007-09-16change MANDIR to ${PREFIX}/man. ok otto@Kjell Wooding
2007-09-16sync to ragge's tree to fix #include<file.h> and a declaration parsingOtto Moerbeek
error.
2007-09-16Process (and ignore for now) -pipeOtto Moerbeek
2007-09-16Another mem leak plugged. With help from Igor Zinovi. ok millert@Otto Moerbeek
2007-09-16finish reindenting str.cMarc Espie
2007-09-16remove some totally useless commentsMarc Espie
2007-09-16remove some of the complexity of Str_Matchi by separating code intoMarc Espie
range_match and star_match to handle special characters. reindent.
2007-09-16reindentMarc Espie
2007-09-16reindentMarc Espie
2007-09-16remove old debug code nothing usesMarc Espie
2007-09-16reindent compat.cMarc Espie
2007-09-16reindent targ.cMarc Espie