projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117d4e0
)
(chop_commands): Fix braino in last change (failed to initialize IDX for
author
Roland McGrath
<roland@redhat.com>
Thu, 21 Apr 1994 21:28:02 +0000
(21:28 +0000)
committer
Roland McGrath
<roland@redhat.com>
Thu, 21 Apr 1994 21:28:02 +0000
(21:28 +0000)
loop).
commands.c
patch
|
blob
|
history
diff --git
a/commands.c
b/commands.c
index 67e59b464bae55807e730a03d6a5c757ff6da51b..7544e51c9dd8f5ac9b8a031c6b47f9da346baee5 100644
(file)
--- 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);