Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwMANMACgkQttcWHAnWiGeKXACfebZ3d7CRjCDlj05MFMNimW58
knYAoIootklDFJkhpjYydcFC+3jqXgBR
=caLL
-----END PGP SIGNATURE-----
home | help

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