src/liflines/error.c
/*===============================
 * __fatal -- Fatal error routine
 *  handles null or empty details input
 *=============================*/
- Fatal error routine
handles null or empty details input
- Fatal error routine handles null or empty details input
void
__fatal (STRING file, int line, CNSTRING details)
{
	static BOOLEAN failing=FALSE;
	if (!failing)
	{
		failing=TRUE;
		errlog_out(_("Fatal Error"), details, file, line);
		llwprintf("%s\n", _("FATAL ERROR"));
		if (details && details[0]) {
			llwprintf("  %s\n", details);
		}
		llwprintf(_("  in file <%s> at line %d\n"), file, line);
		ll_optional_abort(_("ASSERT failure"));
		close_lifelines();
		shutdown_ui(TRUE); 
		failing=FALSE;
	}
	exit(1);
}
void __fatal ( STRING file , int line , CNSTRING details ) { static BOOLEAN failing = FALSE ; if ( ! failing ) { failing = TRUE ; errlog_out ( _ ( " " ) , details , file , line ) ; llwprintf ( " \n " , _ ( " " ) ) ; if ( details && details [ 0 ] ) { llwprintf ( " \n " , details ) ; } llwprintf ( _ ( " \n " ) , file , line ) ; ll_optional_abort ( _ ( " " ) ) ; close_lifelines ( ) ; shutdown_ui ( TRUE ) ; failing = FALSE ; } exit ( 1 ) ; }
__fatal -- Fatal error routine
  handles null or empty details input
__fatal -- Fatal error routine handles null or empty details input
/* avoid reentrancy */ /* send to error log if one is specified */ /* send to screen */ /* offer crash dump before closing database */ /* pause */