From: Timo Hirvonen Date: Mon, 03 Jul 2006 15:46:04 GMT Subject: Re: [PATCH 1/4] merge-recursive in C Message-ID: <20060703184604.59801e4e.tihirvon@gmail.com> In-Reply-To: <20060630002721.GA22618@steel.home> fork0@t-online.de (Alex Riesen) wrote: > +/* in place */ > +void path_list_union_update(struct path_list *dst, const struct path_list *src) > +{ > + char **new_paths; > + int i = 0, j = 0, nr = 0, alloc = dst->nr + dst->nr; It should be alloc = dst->nr + src->nr. -- http://onion.dynserv.net/~timo/