mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Fix another PathWithStatus issue.
llvm-svn: 35744
This commit is contained in:
parent
875a2bc4db
commit
845c291c87
@ -116,7 +116,8 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
|
||||
path.getMagicNumber(magic,4);
|
||||
signature = magic.c_str();
|
||||
std::string err;
|
||||
const sys::FileStatus *FSinfo = path.getFileStatus(false, ErrMsg);
|
||||
const sys::FileStatus *FSinfo =
|
||||
sys::PathWithStatus(path).getFileStatus(false, ErrMsg);
|
||||
if (FSinfo)
|
||||
info = *FSinfo;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user