ossp-pkg/rc/rc_config.c 1.26 -> 1.27
--- rc_config.c 2002/08/01 11:59:55 1.26
+++ rc_config.c 2002/08/01 15:54:45 1.27
@@ -172,7 +172,7 @@
RC_THROW(RC_ERR_USE);
}
- return(NULL); /* Not reached */
+ return(NULL); /* Not reached */
}
const char **configGetsecs(void)
@@ -202,7 +202,7 @@
{
ex_t Except;
- try { /* Parse option groups in order of priority */
+ try { /* Parse option groups in order of priority */
clioptParseopts(nTotal, szArgvec); /* Command line options */
configVerify(); /* Test for usage, help and version options */
clioptParseargs(); /* Command line args */
@@ -270,7 +270,10 @@
bStop = TRUE;
}
else if (configGetval(RC_INF_VAL)) {
- configInfo();
+/* FIXME: Ralf! If an exception is thrown (or rethrown) into this context, */
+/* then the local handler (in five lines) either segfaults or hangs */
+fprintf(stderr, "Hello user, OSSP rc is broken if you use --info. Thanks.\n\n - The management\n");
+/* configInfo();*/
bStop = TRUE;
}
}
|
|