ossp-pkg/rc/rc.c 1.15 -> 1.16
--- rc.c 2002/02/28 18:24:04 1.15
+++ rc.c 2002/03/01 22:48:23 1.16
@@ -36,6 +36,11 @@
#include "rc_private.h"
+/*TRACE("Vor configLoad.");
+TRACEL((long)configGetvers());
+TRACE("Nach configLoad.");
+TRACEL((long)configGetvers());*/
+
int main(int argc, char *argv[])
{
ex_t Except;
@@ -43,22 +48,18 @@
ex_try {
configConstruct();
-TRACE("Vor configLoad.");
-TRACEL((long)configGetvers());
configLoad(argc, argv);
-TRACE("Nach configLoad.");
-TRACEL((long)configGetvers());
}
ex_catch(Except) {
bCaught = 1;
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);
- exit(1); /* Failure */
+ exit(1); /* Failure */
}
if (!bCaught)
fprintf(stderr, "main: No exceptions caught.\n");
- configDestruct(); /* Possibly destruct the configuration */
- exit(0); /* Success */
+ configDestruct(); /* Possibly destruct the configuration */
+ exit(0); /* Success */
}
|
|