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

NAKAMURA Takumi geek4civic at gmail.com
Mon May 7 06:35:23 PDT 2012


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.

...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Windows-PathV2.inc-Retry-rename-for-maximum-2-se.patch.txt
Type: text/x-patch
Size: 1242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120507/a21675ae/attachment.bin>


More information about the llvm-commits mailing list