mirror of
https://github.com/mirror/make.git
synced 2025-03-25 01:00:30 +08:00
(chop_commands): Fix braino in last change (failed to initialize IDX for
loop).
This commit is contained in:
parent
117d4e0f36
commit
b2522ec319
@ -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 New Issue
Block a user