Hello andrew,
Saturday March 13 2021, andrew clarke wrote to Michael Dukelsky:
ac>>> Here foo() can only set its local copy of p to NULL. It can't
ac>>> modify the original pointer.
ac>>> There's not really any way around this kind of mistake in C,
ac>>> other than to run it through a debugger, examine the code and
ac>>> fix it by hand.
MD>> We'll wait for Paul to test it.
ac> Yes. Though I'm not satisfied with nfree() as it feels like it's
ac> masking bugs rather than fixing them at the origin. Just my 5c. :)
No problem. If you want to do it better, just do it. :)
Michael
... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20180707
* Origin: Moscow, Russia (2:5020/1042)
|