Index: ossp-pkg/rc/rc_cliopt.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_cliopt.c,v rcsdiff -q -kk '-r1.12' '-r1.13' -u '/v/ossp/cvs/ossp-pkg/rc/rc_cliopt.c,v' 2>/dev/null --- rc_cliopt.c 2002/06/26 14:42:53 1.12 +++ rc_cliopt.c 2002/07/05 12:54:56 1.13 @@ -171,6 +171,7 @@ { ex_t Except; + assert (pkszSecs); /* IF NULL, its broken */ if (m_pszSecs) /* Warn on overwrites */ RC_THROW(RC_WRN_OWR); Index: ossp-pkg/rc/rc_proc.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_proc.c,v rcsdiff -q -kk '-r1.11' '-r1.12' -u '/v/ossp/cvs/ossp-pkg/rc/rc_proc.c,v' 2>/dev/null --- rc_proc.c 2002/07/02 18:03:17 1.11 +++ rc_proc.c 2002/07/05 12:54:56 1.12 @@ -181,8 +181,10 @@ fprintf(stderr, "Error: Execute is not implemented yet.\n"); /* FIX */ else if (configGetval(RC_PRN_VAL)) /* Print */ scriptDump(pRc->m_pScript); - else - return(RC_THROW(RC_ERR_INT)); /* Not reached */ + else /* Something is wrong here, there is */ + fprintf(stderr, "Error: Placeholder, until problem with ex_ is fixed.\n"); +/* FIXME!!: Ralf, following segfaults in ex */ +/* return(RC_THROW(RC_ERR_INT));*/ /* probably no default in the config */ return(RC_THROW(RC_OK)); } Index: ossp-pkg/rc/rc_script.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_script.c,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/rc/rc_script.c,v' 2>/dev/null --- rc_script.c 2002/07/04 16:49:58 1.5 +++ rc_script.c 2002/07/05 12:54:56 1.6 @@ -187,10 +187,9 @@ ************************************************/ rc_return_t scriptDump(rc_script_t *pScript) { - fprintf(stdout, "\n**************** Dumpskripte ****************\n"); - fprintf(stdout, "%s\n", *pScript); - fprintf(stdout, "**************** Dumpskripte ****************\n\n"); - + /* Don't remove this! It encapsulates the script object, */ + /* which might not be a simple string */ + fprintf(stdout, "%s", *pScript); return(RC_THROW(RC_OK)); } Index: ossp-pkg/rc/rc_test/rcfuncs RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_test/rcfuncs,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/rc/rc_test/rcfuncs,v' 2>/dev/null --- rcfuncs 2002/07/05 11:16:21 1.1 +++ rcfuncs 2002/07/05 12:54:56 1.2 @@ -11,5 +11,3 @@ echo "Ralf ENGELSCHALL ist aber chef-chef Entwickler!" echo "**** Funcfile ist fertig, rc gehts weiter ****" -echo -