From: Roland McGrath Date: Thu, 21 Apr 1994 21:28:02 +0000 (+0000) Subject: (chop_commands): Fix braino in last change (failed to initialize IDX for X-Git-Tag: 3.70.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2522ec31937682d80a1ea11c94ab5daba6704bf;p=thirdparty%2Fmake.git (chop_commands): Fix braino in last change (failed to initialize IDX for loop). --- diff --git a/commands.c b/commands.c index 67e59b46..7544e51c 100644 --- a/commands.c +++ b/commands.c @@ -206,6 +206,7 @@ chop_commands (cmds) idx = strlen (cmds->commands) + 1; p = (char *) alloca (idx); bcopy (cmds->commands, p, idx); + idx = 0; while (*p != '\0') { char *end = find_char_unquote (p, '\n', 0);