mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 16:07:49 +00: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…
x
Reference in New Issue
Block a user