Re: Temporary files Per Bothner 09 May 2019 18:51 UTC

On 5/9/19 11:16 AM, Lassi Kortela wrote:
> Some Unix APIs are classic race condition attractors. mktemp() is one API to avoid because of this. Luckily, create-temp-file in the first draft is smarter than mktemp(): once it finds an unused temp file name, it creates a file under that name, thereby "reserving" that name.

Kawa has make-temporary-file, which takes a format:

(The note about race conditions is obsolete and will be removed.)
	--Per Bothner