LWN.net Logo

Changes in glibc development

Changes in glibc development

Posted Mar 28, 2012 7:03 UTC (Wed) by quotemstr (subscriber, #45331)
In reply to: Changes in glibc development by cmccabe
Parent article: Changes in glibc development

> Who will break Flash for everyone by changing memcpy to not work with overlapping regions?

Yet again: memcpy isn't guaranteed to work on overlapping regions. Use memmove if you think regions might overlap. Whatever else Drepper did, changing memcpy was perfectly legitimate.


(Log in to post comments)

Changes in glibc development

Posted Mar 28, 2012 16:58 UTC (Wed) by cmccabe (guest, #60281) [Link]

Linus Torvalds believed that the new memcpy was actually slower, as well as a bad decision from the release management point of view. There's no point in rehashing the discussion, you can find it all here:
https://bugzilla.redhat.com/show_bug.cgi?id=638477

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds