diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-01-10 02:01:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-01-10 02:01:35 +0000 |
commit | 69a2d6f55afb2bc42bc19e754bcebee39ecdb8bc (patch) | |
tree | ace95ba106babbaeab016c25c56d42a5c0292d4d /include/llvm/Support/LockFileManager.h | |
parent | 06c7008e30d3e278f2d779135ff2ce50bfc643fc (diff) |
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
Diffstat (limited to 'include/llvm/Support/LockFileManager.h')
-rw-r--r-- | include/llvm/Support/LockFileManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |