summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
2007-07-30introduce a Var_Substi to substitute on intervals.Marc Espie
2007-07-30everywhere except in Var_Parse, we always add/append variables to theMarc Espie
2007-07-30now that it's clean enough, one can extract some common code fromMarc Espie
2007-07-24zap unused variableMarc Espie
2007-07-24simplify computations in the var module: instead of advancing a char *Marc Espie
2007-07-24move the code that grabs a value in Var_Parse in its own function,Marc Espie
2007-07-24change Var_ParseSkip API to increment the position instead of returning aMarc Espie
2007-07-22make sure loop variables use their own buffers.Marc Espie
2007-07-20big clean-up patch:Marc Espie
2007-07-20reorder stuff in var.c so that the next patch is more readable.Marc Espie
2007-07-08rename variable to errorIsOkay. What does oldVars mean anyway ?Marc Espie
2007-07-08missed part: add check to avoid poison checking inexistent local vars,Marc Espie
2007-07-08A set of big related changes. okay millert@, tested further by kettenis@Marc Espie
2007-01-02VarDelete is no longer used by list functions, so let it do type-checkingMarc Espie
2006-01-20use stdint.h where appropriate. okay millert@Marc Espie
2004-04-07ISO function declarations, trim a few comments, rename a few variables toMarc Espie
2003-10-07- check if result is valid before using it.Federico G. Schwindt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-06-05tweak quick_lookup for a faster path.Marc Espie
2001-05-23Mostly clean-up:Marc Espie
2001-05-15Don't go beyond end of string.Marc Espie
2001-05-03Synch with my current work.Marc Espie
2001-03-02Use the ohash_* that's now in libc.Marc Espie
2000-12-07Forgot to copy end of name in nested variable names, so thatMarc Espie
2000-11-24Take advantage of VarModifiers_Apply, which can parse a variable specMarc Espie
2000-10-13esetenv: does a setenv and bails out if error.Marc Espie
2000-09-14Some systematic clean-up.Marc Espie
2000-08-21Var_Append needs to set v for DEBUG(VAR) to work.Marc Espie
2000-07-18Handle MAKEFLAGS variation mandated by POSIX.Marc Espie
2000-07-17parse embedded variable specs, e.g., ${VAR_${SUB}}Marc Espie
2000-07-17- let VarModifiers_Apply accept NULL string gracefully,Marc Espie
2000-07-17Major unobfuscation: split var modifiers handling to a separate file.Marc Espie
2000-07-17separate modifiers handling from Var_Parse into a separateMarc Espie
2000-07-17This does replace Str_Match with a better routine, which handles negatedMarc Espie
2000-07-17Constify a few functions, propagated from VarModify.Marc Espie
2000-07-17- recognize that FIND_CMD and FIND_GLOBAL are always used together,Marc Espie
2000-06-23This is the speed-up patch, which doubles make speed (almost).Marc Espie
2000-06-23This patch separates local contexts from global contexts for good.Marc Espie
2000-06-23In various places, VAR_CMD is used to actually mean `no real context',Marc Espie
2000-06-23Once those special variable are taken care of, other Var functions can takeMarc Espie
2000-06-23Start of variable fixes and speed-ups.Marc Espie
2000-06-17This patch introduces a distinction betweenMarc Espie
2000-06-10Clean-up patch: use `void *' instead of old-fashioned ClientData/Address.Marc Espie
2000-06-10Thus, Lst_ForEach no longer needs returning a status.Marc Espie
2000-03-26Remove idiotic, braindead casts T* -> void*Marc Espie
2000-01-08Finish changing all Var_Parse arguments to size_t. Thanks to millert@Marc Espie
1999-12-19Rearrange Lst_Find interface to conform better with other functions.Marc Espie
1999-12-18Nothing ever checks ReturnStatus on Lst_Insert, Lst_Append, Lst_AtFront,Marc Espie
1999-12-18NIL, NILGNODE, etc, are only glorified NULL.Marc Espie
1999-12-18make does not use circular lists, get rid of the extra weight.Marc Espie