From cf525fcbae2ad70c9cee2f1941483bb1e51040ce Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Thu, 29 Mar 2007 17:29:59 +0000 Subject: getFileStatus has a new parameter (caught by VC++). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35466 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ar/llvm-ar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index b9278ad..ea3a59b 100644 --- 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 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) { -- cgit v1.1