Date: Mon, 3 Dec 2001 17:46:45 -0500 From: The Anarcat <anarcat@anarcat.dyndns.org> To: Libh <freebsd-libh@freebsd.org> Subject: removing mktemp call from File Message-ID: <20011203224645.GA2908@shall.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
--AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi. Just a quick note that I'm currently hacking file/ to see how it could be possible to remove the mktemp call in there. It's an old thing that was annoying me. :) It could technically lead to a race condition when downloading a remote File. My current approach is to use mkstemp both in File (by creating a private create_tmp_file() method) and in Fetch. Any objections? I can submit the patches here for revision, if necessary. a. --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwMANMACgkQttcWHAnWiGeKXACfebZ3d7CRjCDlj05MFMNimW58 knYAoIootklDFJkhpjYydcFC+3jqXgBR =caLL -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011203224645.GA2908>