standards/62858: malloc(0) not C99 compliant

Poul-Henning Kamp phk at FreeBSD.org
Sun Feb 29 02:48:50 PST 2004


Synopsis: malloc(0) not C99 compliant

State-Changed-From-To: open->suspended
State-Changed-By: phk
State-Changed-When: Sun Feb 29 02:46:49 PST 2004
State-Changed-Why: 
This is a deliberate choice.  Handling zero-size pointers correctly
in malloc(3) would be a rather involved and is currently not high
on the todolist.  A good patch might change that.

http://www.freebsd.org/cgi/query-pr.cgi?pr=62858


More information about the freebsd-standards mailing list