[PATCH] Call memcpy in generic mempcpy

Andreas Schwab schwab@linux-m68k.org
Wed Feb 6 21:13:00 GMT 2013


Ondřej Bílka <neleai@seznam.cz> writes:

> +  return (void *) (dstp + len);

You can use dstpp + len here, and remove dstp.

Perhaps this should be written as
     return memcpy (dstpp, srcpp, len) + len;

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list