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:
Reid Spencer
2007-03-29 16:48:16 +00:00
parent 69cce815e7
commit 5ba2b702c2
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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