From 167abdb5b3fa6900edd6bbdb1cc7d586896a268c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 25 Jan 2008 10:45:25 +0000 Subject: restructured queue shutdown so that the queue timeout is properly applied before terminatiing the queue --- debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index e473504e..a3aa2b35 100644 --- a/debug.c +++ b/debug.c @@ -55,6 +55,7 @@ static int bPrintFuncDBOnExit = 0; /* shall the function entry and exit be logge static char *pszAltDbgFileName = "/home/rger/proj/rsyslog/log"; /* if set, debug output is *also* sent to here */ static FILE *altdbg; /* and the handle for alternate debug output */ static FILE *stddbg; +static dbgFuncDB_t pCurrFunc; /* list of all known FuncDBs. We use a special list, because it must only be single-linked. As @@ -653,7 +654,7 @@ sigsegvHdlr(int signum) signame = ""; } - dbgprintf("Signal %d%s occured, execution must be terminated %d.\n", signum, signame, SIGSEGV); + dbgprintf("\n\n\n\nSignal %d%s occured, execution must be terminated %d.\n\n\n\n", signum, signame, SIGSEGV); dbgCallStackPrintAll(); -- cgit