diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-29 16:48:16 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-29 16:48:16 +0000 |
commit | 5ba2b702c21052346f171ab277824dc0e549ff77 (patch) | |
tree | 2aa9a6364c19ebdcc8512621ebed6fdcc9e6e637 /lib/Support/FileUtilities.cpp | |
parent | 69cce815e7414ad9a186920c78890c852986d6bf (diff) | |
download | external_llvm-5ba2b702c21052346f171ab277824dc0e549ff77.zip external_llvm-5ba2b702c21052346f171ab277824dc0e549ff77.tar.gz external_llvm-5ba2b702c21052346f171ab277824dc0e549ff77.tar.bz2 |
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
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r-- | lib/Support/FileUtilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index adee22d..a0cdf09 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 |