File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,16 @@ class RemoveUniqueLockFileOnSignal {
157157
158158} // end anonymous namespace
159159
160- LockFileManager::LockFileManager (StringRef FileName) {
161- SmallString<128 > AbsoluteFileName (FileName);
162- if (std::error_code EC = sys::fs::make_absolute (AbsoluteFileName)) {
160+ LockFileManager::LockFileManager (StringRef FileName)
161+ {
162+ this ->FileName = FileName;
163+ if (std::error_code EC = sys::fs::make_absolute (this ->FileName )) {
163164 std::string S (" failed to obtain absolute path for " );
164- S.append (std::string (AbsoluteFileName ));
165+ S.append (std::string (this -> FileName ));
165166 setError (EC, S);
166167 return ;
167168 }
168- LockFileName = AbsoluteFileName ;
169+ LockFileName = this -> FileName ;
169170 LockFileName += " .lock" ;
170171
171172 // If the lock file already exists, don't bother to try to create our own
You can’t perform that action at this time.
0 commit comments