summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
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
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-07-31Micro-optimise VarQuote by exploiting that meta characters are normallyjoerg
2008-07-31Meta characters are a constant, mark it so.joerg
2008-05-15VAR_CMD context is used by conditionals and other purposes, sosjg
2008-05-15Disable this for now, VAR_CMD is abused for other purposes...sjg
2008-05-14Do not set vars in VAR_GLOBAL context, if they have been set on thesjg
2008-03-31If the name passed to Var_Exists contains '$' run it through Var_Subst.sjg
2008-02-15back all changes out until I fix it properly.christos
2008-02-15remove error/noerror constchristos
2008-02-15- symbolic names for error and no errorchristos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2007-10-13Don't write into const strings; not even if we intend toapb
2007-10-13* Convert all uses of strdup() to estrdup();apb
2007-10-13Oops, missed a few more comments in previous.apb
2007-10-13Correct documentation for Var_Parse's freePtr arg. It's a pointer toapb
2007-10-09Fix an off-by-one error in handing mal-formed modifiers.sjg
2007-10-05Add the ability to .export variables to the environment.sjg
2007-06-16Under DEBUG(VAR) report when the variable wasn't found.dsl
2007-01-01Since the 'buf' code here is only used by make, we don't need two namesdsl
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-08-26More programs using efun.christos
2006-07-28Indicate which modifier a result applies to, helps debug complex cases.sjg
2006-06-29Fixed the bug reported in PR 33866, which is that the :Q operator does notrillig
2006-05-19Coverity CI D3758: Plug memory leak.christos
2006-05-19Coverity CID 3757: Plug memory leak.christos