Date: 07 Jul 1999 21:12:47 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Jason Thorpe <thorpej@nas.nasa.gov> Cc: Jamie Howard <howardjp@wam.umd.edu>, freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org, phk@FreeBSD.ORG Subject: Re: Replacement for grep(1) (part 2) Message-ID: <xzp3dz0tgsw.fsf@flood.ping.uio.no>
next in thread | raw e-mail | index | archive | help
[accidentally b0rked the cc: line; apologies to those who get this twice] Jason Thorpe <thorpej@nas.nasa.gov> writes: > On 07 Jul 1999 20:57:16 +0200 > Dag-Erling Smorgrav <des@flood.ping.uio.no> wrote: > > Don't use err() indiscriminately after a malloc() failure; malloc() > > doesn't set errno. > This is a bug in malloc(3), is it not? According to the Single Unix Specification, yes. <URL:http://www.opengroup.org/onlinepubs/007908799/xsh/malloc.html> DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp3dz0tgsw.fsf>