ossp-pkg/rc/rc.c 1.30 -> 1.31
--- rc.c 2002/05/29 12:42:08 1.30
+++ rc.c 2002/06/05 16:24:20 1.31
@@ -48,32 +48,22 @@
configVerify(); /* Test for usage, help, and version options */
pAnal = analNew(); /* Construct a new configuration analyser */
-TRACE("BeforeAnalparse");
analParse(pAnal); /* Preprocess the analysed configuration */
-TRACE("AfterAnalparse");
}
ex_catch(Except) { /* Exceptions during configuration and analysis */
-TRACE("Hopla1");
+ TRACE("Hopla, in config and anal exception block");
if ((rc_return_t)Except.ex_value == RC_ERR_USE) {
-TRACE("Hopla2");
clioptPrintusage();
-TRACE("Hopla3");
}
else {
-TRACE("Hopla4");
fprintf(stderr, "Class '%s' threw exception %d in %s:%s():%d.\n",\
(char *)Except.ex_class, (int)Except.ex_value,\
Except.ex_file, Except.ex_func, Except.ex_line);
-TRACE("Hopla5");
}
-TRACE("Hopla6");
if (FAILED((rc_return_t)Except.ex_value)) { /* NOP on warnings */
-TRACE("Hopla7");
exit(1); /* Report failure and exit the program */
-TRACE("Hopla8");
}
else {
-TRACE("Hopla9");
}
}
|
|