/*
- * $Id: globals.h,v 1.138 2006/08/21 00:50:41 robertc Exp $
+ * $Id: globals.h,v 1.139 2006/09/13 18:55:10 serassio Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
extern char *WIN32_Command_Line; /* NULL */
extern char *WIN32_Service_Command_Line; /* NULL */
extern unsigned int WIN32_run_mode; /* _WIN_SQUID_RUN_MODE_INTERACTIVE */
-#if defined(_SQUID_MSWIN_) && defined(_DEBUG)
-
- extern int do_debug_trap; /* 0 */
-#endif
#endif
#if HAVE_SBRK
/*
- * $Id: main.cc,v 1.435 2006/09/03 05:32:53 hno Exp $
+ * $Id: main.cc,v 1.436 2006/09/13 18:55:10 serassio Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
if (do_reconfigure) {
mainReconfigure();
do_reconfigure = 0;
-#if defined(_SQUID_MSWIN_) && defined(_DEBUG)
-
- } else if (do_debug_trap) {
- do_debug_trap = 0;
- __asm int 3;
-#endif
-
} else if (do_rotate) {
mainRotate();
do_rotate = 0;
/*
- * $Id: tools.cc,v 1.270 2006/09/03 21:05:20 hno Exp $
+ * $Id: tools.cc,v 1.271 2006/09/13 18:55:10 serassio Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
void
sigusr2_handle(int sig)
{
-#if defined(_SQUID_MSWIN_) && defined(_DEBUG)
- do_debug_trap = 1;
-#endif
-#if (defined(_SQUID_MSWIN_) && !defined(_DEBUG)) || !defined(_SQUID_MSWIN_)
-
static int state = 0;
/* no debug() here; bad things happen if the signal is delivered during _db_print() */
state = 0;
}
-#endif
#if !HAVE_SIGACTION
if (signal(sig, sigusr2_handle) == SIG_ERR) /* reinstall */
debug(50, 0) ("signal: sig=%d func=%p: %s\n", sig, sigusr2_handle, xstrerror());