projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b968189
)
getFileStatus has a new parameter (caught by VC++).
author
Jeff Cohen
<jeffc@jolt-lang.org>
Thu, 29 Mar 2007 17:29:59 +0000
(17:29 +0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Thu, 29 Mar 2007 17:29:59 +0000
(17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35466
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ar/llvm-ar.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ar/llvm-ar.cpp
b/tools/llvm-ar/llvm-ar.cpp
index b9278ad6a31a9f497369c43b44e1b8e60d36c2a4..ea3a59b381d153e57b3494e2935057d5a8c5191b 100644
(file)
--- a/
tools/llvm-ar/llvm-ar.cpp
+++ b/
tools/llvm-ar/llvm-ar.cpp
@@
-310,7
+310,7
@@
bool buildPaths(bool checkExistence, std::string* ErrMsg) {
throw std::string("File does not exist: ") + Members[i];
sys::FileStatus si;
std::string Err;
- if (aPath.getFileStatus(si, &Err))
+ if (aPath.getFileStatus(si,
false,
&Err))
throw Err;
if (si.isDir) {
std::set<sys::Path> dirpaths;
@@
-646,7
+646,7
@@
doReplaceOrInsert(std::string* ErrMsg) {
if (found != remaining.end()) {
sys::FileStatus si;
std::string Err;
- if (found->getFileStatus(si, &Err))
+ if (found->getFileStatus(si,
false,
&Err))
return true;
if (si.isDir) {
if (OnlyUpdate) {