Re:Moving the Linux Kernel to Modern C
by plorkyeran on Friday February 25, 2022 @11:13AM
(#30468818)
I'm very unhappy that they chose to make it UB rather than mandating a behavior, but in portable C89 calling `realloc(ptr, 0)` is always a bug in your code, and it was an insane thing to declare implementation-defined originally.
[ Parent
| on HN ]
There are no comments on this comment yet.