mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
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
This commit is contained in:
parent
b9681893c8
commit
cf525fcbae
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user