Temporary File Creation

Jonathan M Davis newsgroup.d at jmdavisprog.com
Tue Jun 23 00:53:04 UTC 2020


On Monday, June 22, 2020 3:46:57 PM MDT Per Nordlöw via Digitalmars-d-learn 
wrote:
> Has anybody written a procedure for creating a temporary file in
> a race-free manner?
>
> And why has such a procedure not already been added to std.file
> when std.file.tempDir has?
>
> See: https://dlang.org/library/std/file/temp_dir.html

I created a PR for one a while back that resulted in a surprisingly large
amount of arguing. IIRC, there were some tweaks I still needed to make to
get it merged, but I keep forgetting to get back to it.

- Jonathan M Davis






More information about the Digitalmars-d-learn mailing list