Remove MALLOC_ZERO_RETURNS_NULL.

This commit is contained in:
Martin v. Löwis 2002-11-23 09:13:40 +00:00
parent 19cf4ee69d
commit 39f59b089d
6 changed files with 5 additions and 110 deletions

View file

@ -688,10 +688,8 @@ redirect:
* last chance to serve the request) or when the max memory limit
* has been reached.
*/
#ifdef MALLOC_ZERO_RETURNS_NULL
if (nbytes == 0)
nbytes = 1;
#endif
return (void *)malloc(nbytes);
}