Do we care about malloc failure in tests?
Mike Frysinger
vapier@gentoo.org
Mon Jun 6 01:54:00 GMT 2016
On 05 Jun 2016 17:39, Paul Pluzhnikov wrote:
> +static void
> +oom_error (const char *fn)
> +{
> + fprintf (stderr, "Out of memory in %s\n", fn);
use printf as we don't let test write to stderr anymore
might want to tweak the printf like so:
printf ("%s: allocation failed: %m\n", fn);
-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/ebdd8e53/attachment.sig>
More information about the Libc-alpha
mailing list