This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: malloc(0)
- To: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Subject: Re: malloc(0)
- From: Roland McGrath <roland@frob.com>
- Date: Mon, 1 Jun 1998 13:54:21 -0400
- Cc: libc-hacker@cygnus.com
My recollection is that we made it that way quite a long time ago because
existing programs assumed that behavior (malloc(0) != 0). You have cited
no advantage whatsoever in changing it.
- References:
- malloc(0)
- From: Zack Weinberg <zack@rabi.phys.columbia.edu>