git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/4] merge-recursive in C

From
THTimo Hirvonen <tihirvon@gmail.com>
Date
Jul 3, 2006, 15:46 UTC
Message-ID
<20060703184604.59801e4e.tihirvon@gmail.com>
In-Reply-To
<20060630002721.GA22618@steel.home>
fork0@t-online.de (Alex Riesen) wrote:
Show 5 quoted lines
> +/* 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/
Previous: Alex RiesenNext: Johannes Schindelin
Message 2 of 3 in “merge-recursive in C”
  1. 1/4 merge-recursive in CAlex Riesen, Jun 30, 2006
  2. Timo HirvonenJul 3, 2006
  3. Johannes SchindelinJul 3, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.