forked from OSchip/llvm-project
Fix a bug caused by change in the interface of Archive::writeToDisk.
llvm-svn: 29869
This commit is contained in:
parent
94446a4267
commit
93a2acf7bc
|
@ -511,7 +511,7 @@ doDelete(std::string* ErrMsg) {
|
|||
}
|
||||
|
||||
// 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 @@ doMove(std::string* ErrMsg) {
|
|||
}
|
||||
|
||||
// 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 @@ doQuickAppend(std::string* ErrMsg) {
|
|||
}
|
||||
|
||||
// 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 @@ doReplaceOrInsert(std::string* ErrMsg) {
|
|||
}
|
||||
|
||||
// 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();
|
||||
|
|
Loading…
Reference in New Issue