Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"The existence of code written by people who should never have been allowed to touch a keyboard cannot be allowed to prevent a correct implementation."

Sounds like Drepper needs to read the standard C library spec (or else there's a human-language barrier at work here). It is not incorrect to map memcpy() to memmove(). ("Be conservative in what you send, and liberal in what you accept." -- Postel)

Can anyone imagine this debate happening inside Microsoft? This is why they win.



sounds like you misunderstood what Ulrich wrote


Could be. What's your interpretation?

Bear in mind that I'm an experienced developer, and consequently am reluctant to call someone a "moron" who should "not be allowed to touch a keyboard" on the basis of the occasional bug in their code.

Yes, confusing memcpy() and memmove() is a novice mistake, but I've done dumber things, and it'd be nice if my users didn't have to pay the price. If the OS or CRTL can save them from my error by rendering the error harmless without any real downside, then it should do so.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: