From: wessels <> Date: Fri, 16 May 1997 05:43:31 +0000 (+0000) Subject: no debug() from sigin handlers X-Git-Tag: SQUID_3_0_PRE1~4998 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=545f551aca0994f71ebf2dc639308e7c95230ab7;p=thirdparty%2Fsquid.git no debug() from sigin handlers --- diff --git a/src/tools.cc b/src/tools.cc index 842b68a8e6..8c0d16cd69 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -1,6 +1,6 @@ /* - * $Id: tools.cc,v 1.105 1997/05/15 01:07:04 wessels Exp $ + * $Id: tools.cc,v 1.106 1997/05/15 23:43:31 wessels Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -304,7 +304,7 @@ void sigusr2_handle(int sig) { static int state = 0; - debug(21, 1, "sigusr2_handle: SIGUSR2 received.\n"); + /* no debug() here; bad things happen if the signal is delivered during _db_print() */ if (state == 0) { _db_init(Config.Log.log, "ALL,10"); state = 1; @@ -448,7 +448,7 @@ sig_child(int sig) #else pid = waitpid(-1, &status, WNOHANG); #endif - debug(21, 3, "sig_child: Ate pid %d\n", pid); + /* no debug() here; bad things happen if the signal is delivered during _db_print() */ #if HAVE_SIGACTION } while (pid > 0); #else