summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
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
1999-12-16Var_Subst is actually two distinct functions folded into one:Marc Espie
1999-12-16Allocate buffers as static data structures.Marc Espie
1999-12-16Remove unneeded extraneous zeros at the end of buffers.Marc Espie
1999-12-16Split Buf_GetAll into Buf_Retrieve/Buf_Size.Marc Espie
1999-12-16Start cleaning up buf.c in earnest.Marc Espie
1999-12-09Introduce `common usage' buf patterns and use them.Marc Espie
1999-12-06Extra parameter no longer needed, ditch.Marc Espie
1999-12-06Instead of retrieving var values from the environment again and again,Marc Espie
1999-12-06Clean up buffers interface somewhat:Marc Espie
1999-11-11Kill Str_FindSubString, it's strstr.Marc Espie
1999-11-10Turn on strict-prototypes, add missing prototypes.Marc Espie
1999-11-06Bug-fix: when expanding a specific variable v in $A,Marc Espie
1999-09-28FixMarc Espie
1999-09-25Add :L/:U modificators (lowercase/uppercase)Marc Espie
1998-12-05Modifications from netbsd:Marc Espie
1998-07-23portable bootstrap thing; lidl@eng.us.uu.netTheo de Raadt