Do we care about malloc failure in tests?
Mike Frysinger
vapier@gentoo.org
Mon Jun 6 02:12:00 GMT 2016
On 05 Jun 2016 19:00, Paul Pluzhnikov wrote:
> I think I can also remove this from xrealloc, since our realloc does
> the right thing when p==NULL.
>
> + if (p == 0)
> + return xmalloc (n);
right, we don't want/need that
i think all the use of 0 should be changed to NULL too
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160606/87245ffb/attachment.sig>
More information about the Libc-alpha
mailing list