[PATCH] D27295: Remove existing file in a separate thread asynchronously.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 10 14:48:11 PST 2016


Joerg Sonnenberger via llvm-commits <llvm-commits at lists.llvm.org>
writes:

> Even worse, renameat would rule out a lot of older systems for no good
> reason.

Is linkat available? The main thing I would like to solve is us leaving
temp files on crashes, which requires some way of giving a name to an
open fd. With linkat we would have to unlink the old file first, but we
are already doing it for performance anyway.

Cheers,
Rafael


More information about the llvm-commits mailing list