Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 14:01:45 -0600
From:      Warner Losh <imp@village.org>
To:        Wes Peters <wes@softweyr.com>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Kris Kennaway <kris@FreeBSD.ORG>, Tim Vanderhoek <vanderh@ecf.utoronto.ca>, James Howard <howardjp@wam.umd.edu>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: mktemp() vs. mkstemp() 
Message-ID:  <200005162001.OAA80550@harmony.village.org>
In-Reply-To: Your message of "Tue, 16 May 2000 11:46:25 MDT." <39218971.AE6779B5@softweyr.com> 
References:  <39218971.AE6779B5@softweyr.com>  <Pine.BSF.4.21.0005141952440.20005-100000@freefall.freebsd.org> <39204472.706CB1D2@softweyr.com> <20000515123256.C249@fw.wintelcom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <39218971.AE6779B5@softweyr.com> Wes Peters writes:
: Drat, that's right.  Anyone wanna pollute the kernel and filesystem
: layers with a "reserve this filename" function?  That sounds fugly,
: doesn't it?

Yes.  It isn't needed.  mkstemp already does the looping to make it
safe.

Warner


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?200005162001.OAA80550>