3 ms·
I think you are entirely right. As Linux says "Kernel exists for its users". Pretty similarly, a platform (php/zend) exists for its applications. Linus has alw
by aniket_ray 14y ago
I think you are entirely right. As Linux says "Kernel exists for its users". Pretty similarly, a platform (php/zend) exists for its applications.
Linus has always been pretty adamant about not breaking API behaviour even undocumented ones. But in this case, undefined behaviour had been previously documented.
Also, was it him or Ulrich Drepper who were against changing memcpy undocumented behaviour. (mempcy used to work with overlapping regions too.)
PS. This mailing thread is from 2010. It's really old.
- lmm 14y agoUlrich Drepper was vigorously in favour of it. If your application breaks, it's because it was written wrong.
- Draiken 14y agoExactly. The only reason this bug got to production, is because the function accepted an empty string parameter in the first place.
- fragmede 14y agoYes, eg: https://lwn.net/Articles/494993/ https://lwn.net/Articles/494993/ Linus took extra steps to no break autofs behavior, even though it was (more) due to a bug in GCC than anything else.