Re: Use memmove instead of memcpy for overlapping areas

From: Junio C Hamano <junkio@cox.net>
Date: 2006-10-31 12:37:22
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);

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Oct 31 12:37:34 2006

This archive was generated by hypermail 2.1.8 : 2006-10-31 12:38:26 EST