Y
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
JeremyStein
6065 days ago
Bah. You're right. I meant ptr == 0 was changed to !ptr.
link