From 69a2d6f55afb2bc42bc19e754bcebee39ecdb8bc Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 10 Jan 2013 02:01:35 +0000 Subject: Fix a race condition in the lock-file manager: once the lock file is gone, check for the actual file we care about. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172033 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/LockFileManager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/llvm/Support') diff --git a/include/llvm/Support/LockFileManager.h b/include/llvm/Support/LockFileManager.h index 8c4a760291..9df8675ef0 100644 --- a/include/llvm/Support/LockFileManager.h +++ b/include/llvm/Support/LockFileManager.h @@ -41,6 +41,7 @@ public: }; private: + SmallString<128> FileName; SmallString<128> LockFileName; SmallString<128> UniqueLockFileName; -- cgit v1.2.3