diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp index 1c0b205e9e2..aff7ab8f1e6 100644 --- a/lib/Archive/Archive.cpp +++ b/lib/Archive/Archive.cpp @@ -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; } diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp index ff8c5f0348c..9d5b025b057 100644 --- a/lib/Archive/ArchiveWriter.cpp +++ b/lib/Archive/ArchiveWriter.cpp @@ -163,7 +163,7 @@ Archive::addFileBefore(const sys::Path& filePath, iterator where, mbr->data = 0; mbr->path = filePath; - if (mbr->path.getFileStatus(mbr->info, ErrMsg)) + if (mbr->path.getFileStatus(mbr->info, false, ErrMsg)) return true; unsigned flags = 0; diff --git a/lib/Bytecode/Archive/Archive.cpp b/lib/Bytecode/Archive/Archive.cpp index 1c0b205e9e2..aff7ab8f1e6 100644 --- a/lib/Bytecode/Archive/Archive.cpp +++ b/lib/Bytecode/Archive/Archive.cpp @@ -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; } diff --git a/lib/Bytecode/Archive/ArchiveWriter.cpp b/lib/Bytecode/Archive/ArchiveWriter.cpp index ff8c5f0348c..9d5b025b057 100644 --- a/lib/Bytecode/Archive/ArchiveWriter.cpp +++ b/lib/Bytecode/Archive/ArchiveWriter.cpp @@ -163,7 +163,7 @@ Archive::addFileBefore(const sys::Path& filePath, iterator where, mbr->data = 0; mbr->path = filePath; - if (mbr->path.getFileStatus(mbr->info, ErrMsg)) + if (mbr->path.getFileStatus(mbr->info, false, ErrMsg)) return true; unsigned flags = 0; diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index adee22d3191..a0cdf09deec 100644 --- a/lib/Support/FileUtilities.cpp +++ b/lib/Support/FileUtilities.cpp @@ -153,9 +153,9 @@ int llvm::DiffFilesWithTolerance(const sys::Path &FileA, double AbsTol, double RelTol, std::string *Error) { sys::FileStatus FileAStat, FileBStat; - if (FileA.getFileStatus(FileAStat, Error)) + if (FileA.getFileStatus(FileAStat, false, Error)) return 2; - if (FileB.getFileStatus(FileBStat, Error)) + if (FileB.getFileStatus(FileBStat, false, Error)) return 2; // Check for zero length files because some systems croak when you try to