Poul-Henning Kamp <phk at FreeBSD.org> writes: > 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. The standard does allow returning NULL, you know. DES -- Dag-Erling Smørgrav - des at des.no