summaryrefslogtreecommitdiff
path: root/usr.bin/make/main.c
AgeCommit message (Expand)Author
2010-01-04We need to have set curdir before calling Dir_FindHereOrAbove().sjg
2009-09-09We must delay setting .CURDIR and .OBJDIR until after MainParseArgs()sjg
2009-09-08Reviewed by: apbsjg
2009-09-03Use the W* macros to test wait results.dholland
2009-08-26Add -C directory, same as gmake and freebsd make.sjg
2009-03-24per dholland, put back MAKE_VERSION for the benefit of third party users.perry
2009-03-20The Makefile and main.c arranged to put "netbsd-${DATE}" into theperry
2009-03-18use progname instead of getprogname() for portability.christos
2009-03-01use siginfo to report on the directory we are working on if available.christos
2009-01-24Move the bmake_malloc() functions into their own .c and .h files.dsl
2009-01-23Sprinkle some const.dsl
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
2009-01-17Change 'Buffer' so that it is the actual struct, not a pointer to it.dsl
2009-01-16Send output of Error() to debug_file (unless stderr/stdout).dsl
2009-01-13Sprinkle a const. (arg of Main_ParseArgLine())dsl
2008-12-20Delete very splurious 'free(buf)' that xtos added.dsl
2008-12-19if brk_string fail, so do we.christos
2008-12-13fix typo in commentdholland
2008-12-13Use NULL instead of -1 cast to the relavant type (usually via NIL).dsl
2008-12-13Do not let the variable name "" be set from the command line (-D "")dsl
2008-12-07add debug flag for cwd.christos
2008-10-22Send debugging output to stderr by default, not to stderr.apb
2008-10-19Always make the debugging output unbuffered; in addition, if debuggingapb
2008-10-18Allow optional "+" in "-dF[+]filename" even if the filename is "stdout"apb
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-02-15back all changes out until I fix it properly.christos
2008-02-15fix != expansion bug I introduced.christos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2008-01-19Implement -dl (aka LOUD) to override '@' at the start of script lines.sjg
2007-12-21If make can't find a rule to create a file it needs to satisfy a ruledsl
2007-10-13* Convert all uses of strdup() to estrdup();apb
2007-10-05Add the ability to .export variables to the environment.sjg
2007-10-01Add the ability to tweak the token output before targets in job mode.sjg
2007-01-01Since the 'buf' code here is only used by make, we don't need two namesdsl
2006-12-16Use open/read/close instead of stdio for makefiles.dsl
2006-12-06Add anewline to the end of the error message output when the debug logdsl
2006-12-03Some minor changes:dsl
2006-11-17A rather large rototil in the way the parallel make code schedules jobs.dsl
2006-11-11If the last 3 bytes of the debug filename supplied with -DFxxxx are .%d thendsl
2006-11-01Use of libutil to provide emalloc et al, should be predicated onsjg
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-10-11There is no need to resize the pollfd array, it can only ever have 2+maxJobsdsl
2006-10-09Rip out the code for the undocumented -P (don't use pipes for commanddsl
2006-08-26Fix non-native build.christos
2006-08-26More programs using efun.christos
2006-07-28Fix minor mem leak in PrintOnError().sjg
2006-06-29Fixed gcc warnings about signed vs. unsigned in comparisons.rillig
2006-05-19Coverity CID 3147: Plug memory leak.christos