diff options
author | James Youngman <jay@gnu.org> | 2005-01-16 23:35:36 +0000 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2005-01-16 23:35:36 +0000 |
commit | 5ba8ad4ab900c5bbf88866bf5bed72f75f07b44a (patch) | |
tree | aef93b63c569551e1985abd67a0159e925083827 | |
parent | 1758e888f97740336dc05800e2f0c8c33bdb3ae9 (diff) | |
download | findutils-5ba8ad4ab900c5bbf88866bf5bed72f75f07b44a.tar.gz |
Oops, initialise state->cmd_initial_argv_chars to zero.
-rw-r--r-- | lib/buildcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildcmd.c b/lib/buildcmd.c index c81d8059..b8396f74 100644 --- a/lib/buildcmd.c +++ b/lib/buildcmd.c @@ -359,7 +359,7 @@ bc_init_state(const struct buildcmd_control *ctl, state->cmd_argv = NULL; state->cmd_argv_alloc = 0; state->argbuf = (char *) xmalloc (ctl->arg_max + 1); - state->cmd_argv_chars = 0; + state->cmd_argv_chars = state->cmd_initial_argv_chars = 0; state->todo = 0; state->usercontext = context; } |