[llvm-commits] [PATCH] Windows/PathV2.inc: Retry rename() for (maximum) 2 seconds.

Aaron Ballman aaron at aaronballman.com
Mon May 7 06:49:41 PDT 2012


On Mon, May 7, 2012 at 8:35 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Files might be opend by system scanners (eg. file indexer, virus scanner, &c).
> ---
>  llvm/lib/Support/Windows/PathV2.inc |   18 ++++++++++++++----
>  1 files changed, 14 insertions(+), 4 deletions(-)
>
> Clang uses rename() at the last stage of emitting output.
> I could rewind Lit hacks with the patch.

LGTM!

~Aaron




More information about the llvm-commits mailing list