summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-10 14:53:29 +0000
committerharti <harti@FreeBSD.org>2005-02-10 14:53:29 +0000
commitd1c5c1813a2915ba0231640a96ac50f0526505ae (patch)
tree9ca2e71572b822abb1d4b1dade3a0953e5ba07e9 /usr.bin/make
parentf247b32ef036330de4136e903ff8c776fd139bba (diff)
downloadFreeBSD-src-d1c5c1813a2915ba0231640a96ac50f0526505ae.zip
FreeBSD-src-d1c5c1813a2915ba0231640a96ac50f0526505ae.tar.gz
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>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 13d9f95..1ef766f 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -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) {
OpenPOWER on IntegriCloud