From 78b899f665df76357742c9036cf959c80ba098a7 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 29 Mar 2007 16:48:16 +0000 Subject: For PR789: Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458 --- llvm/lib/Support/FileUtilities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Support/FileUtilities.cpp') diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index adee22d3191..a0cdf09deec 100644 --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/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 -- cgit v1.2.3