[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

Jeff Cohen jeffc at jolt-lang.org
Thu Mar 29 10:30:16 PDT 2007



Changes in directory llvm/tools/llvm-ar:

llvm-ar.cpp updated: 1.40 -> 1.41
---
Log message:

getFileStatus has a new parameter (caught by VC++).

---
Diffs of the changes:  (+2 -2)

 llvm-ar.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/tools/llvm-ar/llvm-ar.cpp
diff -u llvm/tools/llvm-ar/llvm-ar.cpp:1.40 llvm/tools/llvm-ar/llvm-ar.cpp:1.41
--- llvm/tools/llvm-ar/llvm-ar.cpp:1.40	Tue Dec  5 19:18:00 2006
+++ llvm/tools/llvm-ar/llvm-ar.cpp	Thu Mar 29 12:29:59 2007
@@ -310,7 +310,7 @@
         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 @@
     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) {






More information about the llvm-commits mailing list