summaryrefslogtreecommitdiff
path: root/usr.bin/make/dir.c
AgeCommit message (Expand)Author
2018-07-12Fix previous: cached_stats() returning < 0 means that the file is not found,christos
2018-07-12Remove duplicate code in make(1)'s dir.c.reinoud
2017-04-16Plug memory leaks in Dir_FindFile.riastradh
2017-04-16Use, don't kludge, MAKE_ATTR_UNUSED.riastradh
2017-01-31Partially initialize Dir before MainParseArgs can be called.sjg
2016-06-07Extend the mtimes cache used by dir.c so it can be used by others.sjg
2013-03-05Add a .STALE special target that gets invoked when dependency files containchristos
2013-03-05Keep track of the location where a dependency is defined, so we can reportchristos
2012-06-12Replace __dead, __unused and the various printf format attributesjoerg
2012-04-07Remove recheck hackery that caused extra stats, and explicitly ask forchristos
2011-03-05Treat some/dir/ the same as some/dir/.sjg
2010-11-27When a source file moves, make will ignore the stale dependency,sjg
2009-01-24Don't cast 'time_t' to 'void *' and back it will lose precision.dsl
2009-01-23Sprinkle some const.dsl
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
2008-12-28if mtime == 0, make it 1 because the code expects 0 time to mean that thechristos
2008-12-13Use NULL instead of -1 cast to the relavant type (usually via NIL).dsl
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-02-15back all changes out until I fix it properly.christos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2007-01-01Remove 'else' after 'return', and similar whitspace changes.dsl
2006-12-16Fix a comment that has been wrong since rev 1.1, minor layout fix.dsl
2006-10-27Since 'ClientData' is 'void *', nuke almost all the (ClientData) casts.dsl
2006-10-15Output all debug trace output through 'debug_file' defaulting to 'stdout'.dsl
2006-04-22Coverity CID 528: Avoid NULL deref.christos
2005-08-08From Max Okumoto:christos
2005-08-05More KNF cleanups from Max Okumotochristos
2005-07-25Whitespace KNF cleanup from Max Okumotochristos
2005-02-16PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]christos
2004-12-29Dir_MTime did not search for a file using the correct parh; i.e. it waschristos
2004-07-01Change to use __unused instead and provide a compat definition in make.h ifjmc
2004-07-01Add some checks for gcc around a few function declarations and note thejmc
2004-05-07Simplify build, no functional changes.ross
2004-02-03add parent directory search for make as discussed on tech-toolchain.chuck
2004-01-11Change DEBUG(DIR) traces to indent subsequent filenames instead ofdsl
2003-09-09Remove some code which makes file lookup rely on the fact thatdrochner
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-14Pass WARNS=3christos
2002-11-26Whenever we update .PATH, set the variable ${.PATH} to reflect thesjg
2002-06-15Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.wiz
2002-02-03Resurrect revision 1.23: no need to stat .PHONY targets.pk
2002-01-31Fix the bug addressed in revision 1.27 properly. Analysis of the problempk
2002-01-27Fix major bug in make(1) ... due to shadowing of the dotLast path used forreinoud
2002-01-26Don't bother to lookup for files in `.' that start with a `/'. Cuts in thechristos
2002-01-18In Dir_FindFile() add a missing Lst_Close() and move another one to thepk
2001-11-12Redo the hashtable for "." if .OBJDIR changes.tv
2001-11-11Fix long-standing bug where, if an objdir exists, searching the .PATH for atv
2000-04-16Don't core-dump when the current working directory is not readablechristos
1999-11-25back out rev 1.23 (don't stat PHONY targets). it broken the libcryptomrg
1999-09-15Don't bother iterating through all the data structures to free(3) everythingmycroft