Thread (1 message) 1 message, 1 author, 2016-08-11

Re: Use memmove instead of memcpy for overlapping areas

From: Junio C Hamano <hidden>
Date: 2016-08-11 19:20:46

Edgar Toernig [off-list ref] 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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help