1
0
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:
Reid Spencer 2007-04-07 19:45:30 +00:00
parent 875a2bc4db
commit 845c291c87

View File

@ -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