News for hackers. Stuff that matters.
Re:Deconstructing "K&R C" by chc on Tuesday January 10, 2012 @03:46PM (#3448925)
I think you're mentally substituting "&&" with "||", in which case the assert would never fail because the string "memory error" is never 0. But with &&, the assert will fail when it should and the "memory error" is just a superfluous comment, not a bug.
Re:Deconstructing "K&R C" by jemfinch on Wednesday January 11, 2012 @12:42PM (#3452762)
That's absolutely correct, thanks for pointing that out.