[llvm-commits] CVS: llvm/lib/Support/FileUtilities.cpp

Reid Spencer reid at x10sys.com
Thu Mar 29 09:48:38 PDT 2007



Changes in directory llvm/lib/Support:

FileUtilities.cpp updated: 1.53 -> 1.54
---
Log message:

For PR789: http://llvm.org/PR789 :
Updates for change in interface of getFileStatus method of sys::Path class.


---
Diffs of the changes:  (+2 -2)

 FileUtilities.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Support/FileUtilities.cpp
diff -u llvm/lib/Support/FileUtilities.cpp:1.53 llvm/lib/Support/FileUtilities.cpp:1.54
--- llvm/lib/Support/FileUtilities.cpp:1.53	Sat Nov 25 02:38:44 2006
+++ llvm/lib/Support/FileUtilities.cpp	Thu Mar 29 11:48:16 2007
@@ -153,9 +153,9 @@
                                  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






More information about the llvm-commits mailing list