[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

Reid Spencer reid at x10sys.com
Thu Aug 24 22:28:31 PDT 2006



Changes in directory llvm/tools/llvm-ar:

llvm-ar.cpp updated: 1.37 -> 1.38
---
Log message:

Fix a bug caused by change in the interface of Archive::writeToDisk.


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

 llvm-ar.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/tools/llvm-ar/llvm-ar.cpp
diff -u llvm/tools/llvm-ar/llvm-ar.cpp:1.37 llvm/tools/llvm-ar/llvm-ar.cpp:1.38
--- llvm/tools/llvm-ar/llvm-ar.cpp:1.37	Thu Aug 24 18:45:08 2006
+++ llvm/tools/llvm-ar/llvm-ar.cpp	Fri Aug 25 00:28:17 2006
@@ -511,7 +511,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -566,7 +566,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -591,7 +591,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();
@@ -688,7 +688,7 @@
   }
 
   // We're done editting, reconstruct the archive.
-  if (!TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
+  if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg))
     return true;
   if (ReallyVerbose)
     printSymbolTable();






More information about the llvm-commits mailing list