Nathan Kennedy wrote:
I think this dependency can be removed.
Thanks, I installed a patch along those lines.
the MALLOC_0_IS_NONNULL macro attempting to check for malloc(0) failure is not needed.
It's not needed for correctness, but it helps performance on GNU hosts, no? It lets them avoid an unnecessary test "size != 0" at runtime. The MALLOC_0_IS_NONNULL test is done at compile-time, and has no runtime overhead.