[llvm-commits] CVS: llvm/lib/Debugger/SourceFile.cpp

Reid Spencer reid at x10sys.com
Tue Aug 22 11:03:16 PDT 2006



Changes in directory llvm/lib/Debugger:

SourceFile.cpp updated: 1.8 -> 1.9
---
Log message:

Fix another occurrence of inverted logic on the result of MappedFile::map


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

 SourceFile.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Debugger/SourceFile.cpp
diff -u llvm/lib/Debugger/SourceFile.cpp:1.8 llvm/lib/Debugger/SourceFile.cpp:1.9
--- llvm/lib/Debugger/SourceFile.cpp:1.8	Tue Aug 22 11:06:27 2006
+++ llvm/lib/Debugger/SourceFile.cpp	Tue Aug 22 13:03:02 2006
@@ -20,7 +20,7 @@
 ///
 void SourceFile::readFile() {
   std::string ErrMsg;
-  if (File.map(&ErrMsg))
+  if (!File.map(&ErrMsg))
     throw ErrMsg;
 }
 






More information about the llvm-commits mailing list