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:
Hartmut Brandt 2005-02-10 14:53:29 +00:00
parent c738c9b125
commit 42e4f1252b

View file

@ -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) {