summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2005-01-16 23:35:36 +0000
committerJames Youngman <jay@gnu.org>2005-01-16 23:35:36 +0000
commit5ba8ad4ab900c5bbf88866bf5bed72f75f07b44a (patch)
treeaef93b63c569551e1985abd67a0159e925083827
parent1758e888f97740336dc05800e2f0c8c33bdb3ae9 (diff)
downloadfindutils-5ba8ad4ab900c5bbf88866bf5bed72f75f07b44a.tar.gz
Oops, initialise state->cmd_initial_argv_chars to zero.
-rw-r--r--lib/buildcmd.c2
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;
}