From: Roland McGrath Date: Mon, 10 Aug 1992 22:03:03 +0000 (+0000) Subject: Formerly function.c.~20~ X-Git-Tag: 3.70.2~633 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ccff1cc0d28d7bce8d5277a767ab8dd173013110;p=thirdparty%2Fmake.git Formerly function.c.~20~ --- diff --git a/function.c b/function.c index 541c4ac8..993667fd 100644 --- a/function.c +++ b/function.c @@ -423,6 +423,8 @@ expand_function (o, function, text, end) { if (buffer[i - 1] == '\n') buffer[--i] = '\0'; + else + buffer[i] = '\0'; p = buffer; while ((p = index (p, '\n')) != 0) *p++ = ' ';