On Sun Jun 18 00:46:24 2023 +0000, Erich Hoover wrote:
Wine might not care, but that won't work on all platforms (I have been burned by that before).
I'm afraid that `malloc(0)` is even less likely to work in all CRT implementations. `realloc(NULL, size)` where size > 0 at least has the advantage of being required to work according to all versions of the C standard. In any case, it definitely works in Wine's msvcrt.