]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Rename windows debug trap variable do_debug to do_debug_trap to make
authorhno <>
Fri, 18 Mar 2005 22:47:41 +0000 (22:47 +0000)
committerhno <>
Fri, 18 Mar 2005 22:47:41 +0000 (22:47 +0000)
room for other uses of do_debug

src/globals.h
src/main.cc
src/tools.cc

index 5ce7cc51493957a21c084c85b2efe6c80d4464b6..006e131f4c4576037a22ae2bcb5c6abdbfa2c587 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: globals.h,v 1.128 2005/02/05 22:49:43 hno Exp $
+ * $Id: globals.h,v 1.129 2005/03/18 15:47:41 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -165,7 +165,7 @@ 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;                   /* 0 */
+extern int do_debug_trap;                      /* 0 */
 #endif
 #endif
 #if HAVE_SBRK
index f230aa9e3b22a787ad7f4edd1a2dbd9f97af9542..d8b009161d163fe1266437e591725c22066ac005 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.404 2005/03/13 09:23:33 serassio Exp $
+ * $Id: main.cc,v 1.405 2005/03/18 15:47:42 hno Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -1101,8 +1101,8 @@ main(int argc, char **argv)
             do_reconfigure = 0;
 #if defined(_SQUID_MSWIN_) && defined(_DEBUG)
 
-        } else if (do_debug) {
-            do_debug = 0;
+        } else if (do_debug_trap) {
+            do_debug_trap = 0;
             __asm int 3;
 #endif
 
index c336b74cbce580f86c56078448239ca784d84e17..3c550c3c4a7304986ab1262d2cb3c0c3d78fef6e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.252 2005/03/13 09:23:33 serassio Exp $
+ * $Id: tools.cc,v 1.253 2005/03/18 15:47:42 hno Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -380,7 +380,7 @@ void
 sigusr2_handle(int sig)
 {
 #if defined(_SQUID_MSWIN_) && defined(_DEBUG)
-    do_debug = 1;
+    do_debug_trap = 1;
 #endif
 #if (defined(_SQUID_MSWIN_) && !defined(_DEBUG)) || !defined(_SQUID_MSWIN_)