From owner-freebsd-bugs Wed Apr 5 19: 0: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BADC737BF81 for ; Wed, 5 Apr 2000 19:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA98635; Wed, 5 Apr 2000 19:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 5 Apr 2000 19:00:02 -0700 (PDT) Message-Id: <200004060200.TAA98635@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Daniel Hagan Subject: Re: bin/16924: tmpfile(3) ignores TMPDIR and always uses /tmp Reply-To: Daniel Hagan Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/16924; it has been noted by GNATS. From: Daniel Hagan To: freebsd-gnats-submit@FreeBSD.org, lodea@vet.com.au Cc: Subject: Re: bin/16924: tmpfile(3) ignores TMPDIR and always uses /tmp Date: Wed, 05 Apr 2000 21:54:37 -0400 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.) Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message