> But shouldn't the first line in the function body read:
>
> unsigned size = num_children * sizeof (struct store *);
>
> "children" is a "struct store **".
That is correct and given the simplicity of the patch, I have applied
it.
Thanks.
___
Bug-
Hi,
libstore/kids.c contains the following code:
/* Set STORE's current children list to (a copy of) CHILDREN and
NUM_CHILDREN. */
error_t
store_set_children (struct store *store,
struct store *const *children, size_t num_children)
{
unsigned size = num_children * sizeof