2 ms·
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.
by sfk 17y 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.
- JeremyStein 17y agoBah. You're right. I meant ptr == 0 was changed to !ptr.