From owner-freebsd-hackers Wed Jul 7 12:12:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2D4D8153ED; Wed, 7 Jul 1999 12:12:50 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.1) id VAA90872; Wed, 7 Jul 1999 21:12:47 +0200 (CEST) (envelope-from des) Subject: Re: Replacement for grep(1) (part 2) To: Jason Thorpe Cc: Jamie Howard , freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org, phk@FreeBSD.ORG From: Dag-Erling Smorgrav Date: 07 Jul 1999 21:12:47 +0200 Message-ID: Lines: 16 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [accidentally b0rked the cc: line; apologies to those who get this twice] Jason Thorpe writes: > On 07 Jul 1999 20:57:16 +0200 > Dag-Erling Smorgrav 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. 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