Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 21:10:03 -0700 (PDT)
From:      "Lachlan O'Dea" <lodea@vet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/16924: tmpfile(3) ignores TMPDIR and always uses /tmp
Message-ID:  <200004060410.VAA13196@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/16924; it has been noted by GNATS.

From: "Lachlan O'Dea" <lodea@vet.com.au>
To: Daniel Hagan <dhagan@cs.vt.edu>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/16924: tmpfile(3) ignores TMPDIR and always uses /tmp
Date: Thu, 6 Apr 2000 14:03:55 +1000

 On Wed, Apr 05, 2000 at 09:54:37PM -0400, Daniel Hagan wrote:
 > You need to do error checking on your calls to malloc.  Other than that, I
 > think it looks ok on an initial reading.  (I'm certainly not an expert on
 > libc though.)
 
 Thanks for looking at this. I wanted to include error checking, but I
 wasn't sure of what action to take if an error occurred. I remember
 finding some other malloc calls in libc that didn't check for errors, so
 I just left it alone. If anyone can point me to an example of how to
 handle this, I'd appreciate it.
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004060410.VAA13196>