Date: Tue, 24 Oct 2000 22:27:16 +0200 From: Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> To: audit@FreeBSD.ORG Subject: Re: printjob.c mktemp() problem Message-ID: <20001024222716.B2020@lucifer.bart.nl> In-Reply-To: <20001024140510.G93799@lucifer.bart.nl>; from jruigrok@via-net-works.nl on Tue, Oct 24, 2000 at 02:05:10PM %2B0200 References: <20001024140510.G93799@lucifer.bart.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
New patch at http://lucifer.bart.nl/~asmodai/printjob.c.diff However, there are some things I don't like in the current patch. I have these feeling that I am missing something. My memory keeps nagging about calling mkstemp() twice and only unlink() once, and then in the general case, whilst the original code only had one mktemp() and subsequently open()'d the tempfile. But that's for tomorrow. :) -- Jeroen Ruigrok van der Werven Network- and systemadministrator <jruigrok@via-net-works.nl> VIA Net.Works The Netherlands BSD: Technical excellence at its best http://www.via-net-works.nl If Winter comes, can Spring be far behind..? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001024222716.B2020>