summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-07 19:45:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-07 19:45:30 +0000
commit44218f9a7e328a0428ffb16f24b567328528122d (patch)
treea4e025b3257c5394335a9b4416563f802f9c4bf4 /lib/Bytecode
parentc74b4615071151b20fb1f82b11f85c2a1ba53e75 (diff)
Fix another PathWithStatus issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Archive/Archive.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Archive/Archive.cpp b/lib/Bytecode/Archive/Archive.cpp
index d594a8715f7..7fbd15e59fc 100644
--- a/lib/Bytecode/Archive/Archive.cpp
+++ b/lib/Bytecode/Archive/Archive.cpp
@@ -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