Let the buffer just use the default size by specifying 0 as the size
instead of specifying the default size explicitely. Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
f247b32ef0
commit
d1c5c1813a
@ -1751,7 +1751,7 @@ Var_Subst(const char *var, char *str, GNode *ctxt, Boolean undefErr)
|
||||
* been reported to prevent a plethora
|
||||
* of messages when recursing */
|
||||
|
||||
buf = Buf_Init(MAKE_BSIZE);
|
||||
buf = Buf_Init(0);
|
||||
errorReported = FALSE;
|
||||
|
||||
while (*str) {
|
||||
|
Loading…
Reference in New Issue
Block a user