summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
2013-09-04Add VAR_INTERNAL as a context for variables set by make itself,sjg
2013-07-16When a var is set in the CMD context, it prevents the same namesjg
2013-07-16More gmake compatibility:christos
2013-07-15Make this work again like gmake. sjg: see the test program.christos
2013-07-06If using gmake's MAKELEVEL; use it the same waysjg
2013-06-18Use a #define for the variable name we put in environment to pass .MAKE.LEVELsjg
2013-06-10put back previous changechristos
2013-06-10Revert last, it doesn't even build.joerg
2013-06-101. Don't export .MAKE.LEVEL, because this is an illegal variable name forchristos
2013-05-29Clean up some left overssjg
2013-05-18Var_Delete: expand name if needed.sjg
2013-02-24While it is nice to have the same function do both the upper case andchristos
2012-11-15include the variable name in debugging printfs.christos
2012-06-12Replace __dead, __unused and the various printf format attributesjoerg
2012-06-04Var_UnExport() and setenv() can both realloc environ.sjg
2012-05-18Avoid nested extern declaration warningssjg
2012-04-24Var* are generally very liberal with memory, with the expectationsjg
2011-06-03ApplyModifiers: if we parse a variable in the modifier list,sjg
2011-05-21Explicitly #include <time.h> for time(3) and strftime(3).tsutsui
2011-04-11If a "long" modifier name does not match, goto default casesjg
2011-04-11Add :localtime and :gmtime which use value as format string for strftime.sjg
2011-04-07Add the :hash modifier to compute a 32bit hash of an variable.joerg
2011-03-06Add unit tests to check that exists(some/dir/) workssjg
2010-12-02From Aleksey Cheusov: Fix unexpected behavior with:christos
2010-12-02add commented out a possible addition that provides $^ like gmake, butchristos
2010-06-06Add .export-env which tells make to export a variable to the environmentsjg
2010-04-21If we do .export (all) and have any variables that involve :shsjg
2010-04-20Behavior of realpath() appears to vary.sjg
2010-04-15Add :tA to attempt to resolve to absoute path using realpath().sjg
2009-11-19Add .unexport - the exact opposite of .exportsjg
2009-09-08Reviewed by: apbsjg
2009-09-07PR: 41998sjg
2009-06-16Child of vfork() must not alter the state of parent.sjg
2009-02-18adjust patch to current.christos
2009-02-18CID 5044: Protect against NULL deref.christos
2009-01-28Allow for () in the argument to .ifdef et al.dsl
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
2009-01-18fix -Wsign-compare issueslukem
2009-01-17Change 'Buffer' so that it is the actual struct, not a pointer to it.dsl
2009-01-16Debug print improvements.dsl
2008-12-29In the :M code, 'pattern' is always malloced memory - so unconditionallydsl
2008-12-29Count both () and {} when looking for the end of a :M pattern.dsl
2008-12-23Treat '\\' as a possible terminator for a loop control variable.dsl
2008-12-21Don't allow $) $} $: or $$ as variable expansions, they confuse otherdsl
2008-12-20A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.dsl
2008-12-20Do not allow Var_Set() or Var_Append() to set the empty variable (which willdsl
2008-12-20Change some "^I *^I" to "^I^I" and align the comment block aboutdsl
2008-12-19add a little more debugging.christos
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