mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-31 03:25:08 +00:00
(chop_commands): Fix braino in last change (failed to initialize IDX for
loop).
This commit is contained in:
parent
117d4e0f36
commit
b2522ec319
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue