reducing memmoves

Wayne Davison wayned at samba.org
Mon Aug 2 21:47:22 GMT 2004


On Mon, Aug 02, 2004 at 10:54:19AM -0700, Wayne Davison wrote:
> +		map = (schar *)map_ptr(buf, offset - backup, k + more) + backup;

Oops, the map length should have been extended by the value of "backup":

		map = (schar *)map_ptr(buf, offset - backup, k + more + backup)
		    + backup;

..wayne..


More information about the rsync mailing list