mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
For PR789:
Updates for change in interface of getFileStatus method of sys::Path class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user