1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Return error conditions including in the case of not changing a file.
Author: Rogério Theodoro de Brito <rbrito@ime.usp.br>
--- a/vbrfixc/vbrfix.cpp
+++ b/vbrfixc/vbrfix.cpp
@@ -73,6 +73,9 @@
endFix();
return false;
}
+ catch (...) {
+ return false;
+ }
return true;
}
void VbrFix::endFix(){
@@ -113,7 +116,10 @@
catch(const char* err){
if(err!=NULL)loge(err);
endFix();
- return false;
+ exit(-1);//return false;
+ }
+ catch (...) {
+ exit(-1);//return false;
}
return false;
}
|