News for hackers. Stuff that matters.
Re:Memcmp being wrongly stripped like strcmp by lmm on Friday October 09, 2020 @01:35AM (#24727154)
It seems a pretty straightforward (and all-too-common) kind of misunderstanding between humans: one person gave a function used by both memcmp and strcmp a name to do with strcmp, then another person wrote a comment that talked about strcmp, and eventually a third person made a change that would have been valid if the function was used only by strcmp. No individual would make such a mistake, true, but an organisation of several people could easily fail in the same way.
Re:Memcmp being wrongly stripped like strcmp by jmgao on Friday October 09, 2020 @01:42AM (#24727187)
> No individual would make such a mistake, true, but an organisation of several people could easily fail in the same way.

You might be able to claim that it's unlikely for someone to make this mistake if the changes were in one single change (I doubt even this!), but the same person revisiting code at multiple points in time might as well be different people.

Re:Memcmp being wrongly stripped like strcmp by asddubs on Saturday October 10, 2020 @01:38AM (#24736894)
yeah I've definitely made equivalent mistakes like that, where I gave something a misleading name because I didn't spend enough time thinking about it, and then eventually confused myself into introducing a bug