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

Re: Use memmove instead of memcpy for overlapping areas

From
Junio C Hamano <junkio@cox.net>
Date
Oct 31, 2006, 01:37 UTC
Message-ID
<7vpsc9s1t9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061030222615.1e38908b.froese@gmx.de>
Edgar Toernig <froese@gmx.de> writes:
> There may be more - this is just the result of a quick eye-grep
> for memcpy(x, x+i).
Thanks.  Sign-off?
Among many false hit, 
$ git grep 'memcpy.*( *\(.*\),.*\1.*+'
gives this one:
builtin-unpack-objects.c:               memcpy(buffer, buffer + offset, len);
Previous: Edgar Toernig
Message 2 of 2 in “Use memmove instead of memcpy for overlapping areas”
  1. Edgar ToernigOct 30, 2006
  2. Junio C HamanoOct 31, 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.