2012.12.12 23:42 "[Tiff] Dealing with unportability of malloc(0)", by Tom Lane

2012.12.13 01:16 "Re: [Tiff] Dealing with unportability of malloc(0)", by Graeme Gill

Actually, that's the minority position. A quick check shows that Linux (glibc), Mac OS X, and HP-UX all return a nonnull value for malloc(0) --- that's the only Unix-oid platforms I have handy to check.

And MSWindows.

Graeme Gill.