aboutsummaryrefslogtreecommitdiffstats
path: root/make_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'make_cmd.c')
-rw-r--r--make_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_cmd.c b/make_cmd.c
index 6ce7e4c..d0991ca 100644
--- a/make_cmd.c
+++ b/make_cmd.c
@@ -492,7 +492,7 @@ make_here_document (temp)
len = strlen (line);
if (len + document_index >= document_size)
{
- document_size = document_size ? 2 * (document_size + len) : 1000;
+ document_size = document_size ? 2 * (document_size + len) : len + 2;
document = xrealloc (document, document_size);
}