]> granicus.if.org Git - musl/commit
remove dependency of memmove on memcpy direction
authorRich Felker <dalias@aerifal.cx>
Fri, 7 Sep 2012 00:25:48 +0000 (20:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 7 Sep 2012 00:25:48 +0000 (20:25 -0400)
commit594318fd3d13c7dda1ea87a76934e052ac74301f
tree71a11d048014f76a434eedcec17929a1f8a223f7
parentfcfba99503746e44585d7e318562dd425e8ff390
remove dependency of memmove on memcpy direction

this commit introduces a performance regression in many uses of
memmove, which will need to be addressed before the next release. i'm
making it as a temporary measure so that the restrict patch can be
committed without invoking undefined behavior when memmove calls
memcpy with overlapping regions.
src/string/memmove.c