summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
Commit message (Expand)AuthorAgeFilesLines
* Reverse a condition so that the else clause can be changedharti2005-03-011-39/+38
* VarParseLong: Move the initialisation of dynamic up which savesharti2005-02-281-3/+7
* Don't modify the input string in VarParseLong(). It is notharti2005-02-281-15/+6
* Major clean up and split the Var_Parse monster function into threeharti2005-02-261-676/+714
* Change the return value of Var_Subst to return a Buffer insteadharti2005-02-251-40/+57
* Var_Parse: Separate different error states by introducing an else blockharti2005-02-241-64/+54
* Push assignments to just before the returns from the function toharti2005-02-241-16/+18
* Fix wording of a comment.harti2005-02-241-1/+1
* Forgot to set *freePtr to FALSE in another place.harti2005-02-211-0/+1
* Push the assignments of some variables down into the sub-blocks whereharti2005-02-181-4/+16
* Push down variables into local scope in Var_Parse to make theirharti2005-02-181-7/+6
* Whitespace cleanup: substitute mixed tabs and spaces by canonicalharti2005-02-171-16/+17
* Move error case to begin of if-else chain. Do not needless initializeharti2005-02-171-14/+19
* Sort out the error case that a single '$' was passed a little bitharti2005-02-171-6/+11
* Convert several instances of negative logic to positive logic.harti2005-02-111-85/+84
* Buffers are already NUL-terminated so there is no need to explicitely addharti2005-02-101-1/+0
* Mostly stylistic nits in preparation for splitting up Var_Parse:harti2005-02-101-15/+19
* Let the buffer just use the default size by specifying 0 as the sizeharti2005-02-101-1/+1
* Mark the modification of the input string (which should really be const)harti2005-02-101-1/+1
* Style nits:harti2005-02-101-7/+13
* Describe a pre-condition of Var_Parse().harti2005-02-101-0/+3
* Remove a comment that's not actual anymore.harti2005-02-101-3/+0
* Fix spacing by converting mixes of space and tab to tab. Also add a numberharti2005-02-101-22/+27
* Use defines for character constants for open and closing braces andharti2005-02-091-11/+22
* Untangle VarFind and, while rewriting most of the function, fix theharti2005-02-091-45/+51
* Introduce VarCreate and VarDestroy functions and used them whereharti2005-02-091-58/+51
* Remove an unneeded check.harti2005-02-071-1/+4
* Introduce a typedef for variable value modifation functions and use itharti2005-02-071-5/+1
* Make the intention of a loop clearer.harti2005-02-071-4/+5
* Introduce Buf_StripNewLines() and use it where appropriate.harti2005-02-071-1/+6
* Invent a Buf_AppendRange function that appends a non-NUL-terminated stringharti2005-02-071-4/+4
* Invent a Buf_Append function to append a NUL-terminated stringharti2005-02-071-22/+16
* None of the users of Buf_Discard used it to get rid of only a part ofharti2005-02-041-1/+1
* General whitespace cleanup: remove mixes of tabs and spaces, removeharti2005-02-041-2/+2
* Further constification. Use a temporary hack (copying the input string)harti2005-02-041-36/+46
* Use an extra variable to assign to instead of missusing an inputharti2005-02-041-7/+7
* Some more easy constification.harti2005-02-041-14/+13
* Convert several typedefs from beeing pointers to structs to be the structsharti2005-02-021-11/+11
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-8/+16
* Remove all the cleanup functions. There is no reason to free memoryharti2004-12-171-7/+0
* Instead of dynamically allocating list heads allocated them staticallyharti2004-12-161-10/+10
* Remove a list that was just used to free all variables just before exiting.harti2004-12-101-12/+1
* Constify the arguments to the list compare function. This temporarilyharti2004-12-081-3/+2
* Typedefs of pointers to structs are evil. Make Lst and LstNode typedef ofharti2004-12-071-3/+3
* Make needs no circular lists so remove them from the list code.harti2004-12-071-1/+1
* Fix breakage introduced on 64-bit platforms with my last commit. Needharti2004-12-031-21/+22
* Plug a memory leak.harti2004-12-031-0/+1
* Style: remove a lot of unnecessary casts, add some and spell the nullharti2004-12-011-49/+47
* Stylification: missing spaces, extra space after function names, castsharti2004-11-301-129/+129
* Put variable assignments on .MAKEFLAGS and .MFLAGS targets intoharti2004-08-121-44/+4
OpenPOWER on IntegriCloud