summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
2015-12-01Avoid calling brk_string() and hence Var_Export1() onsjg
2015-10-20Ensure emsg initializedsjg
2015-10-12The conditional expressions used with ':?' can be expensivesjg
2015-10-11Add Boolean wantit to Var_Parse and Var_Substsjg
2015-10-06don't check for NULL before free() (Tilman Sauerbeck)christos
2015-06-19use isspace()christos
2015-06-19Adjust metachar handling to previous behaviour:mlelstv
2015-06-17Centralize the "is a meta char" test, instead of using two different arrays.christos
2015-05-05When evaluating condtionals from .if we want to requiresjg
2014-09-14Fix handling of the silly $(@D) $(@F) etc. vars so modifiers on themdholland
2014-09-13Recognize the crazy POSIXisms $(?D) and $(?F); issue 2 in PR 49085dholland
2014-09-13typo in comment, from the first reverted patchdholland
2014-09-07Revert all make changes except the unit tests to the state of threejoerg
2014-08-23PR/49085: Jarmo Jaakkola: fix several parsing errorschristos
2014-06-20Return varNoError rather than var_Error for ::?= etc.sjg
2014-05-19Var_Parse: endc only counts when at the correct nesting depth.sjg
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