Hacker News new | ask | show | jobs
by sfk 6066 days ago
The change reverses the logic of the expression, so I would expect the program to stop working - regardless of the value of the null pointer.
1 comments

Bah. You're right. I meant ptr == 0 was changed to !ptr.