For PR789:
[oota-llvm.git] / lib / Bytecode / Archive / Archive.cpp
index 1c0b205e9e25d7c7aae828422ec59ca1ef9eefb8..aff7ab8f1e6bc1450196c63991e89f563f36b746 100644 (file)
@@ -116,7 +116,7 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
     path.getMagicNumber(magic,4);
     signature = magic.c_str();
     std::string err;
-    if (path.getFileStatus(info, ErrMsg))
+    if (path.getFileStatus(info, false, ErrMsg))
       return true;
   }