]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Sun, 28 May 2000 23:00:13 +0000 (23:00 +0000)
committerwessels <>
Sun, 28 May 2000 23:00:13 +0000 (23:00 +0000)
 - Somebody "moved" store_pages_max, store_swap_high, and store_swap_low
   to globals.c, but didn't delete them from store.c.  This caused a
   divide by zero bug in storeDiskdDirMaintain.

src/globals.h
src/store.cc

index 7636130a3a0977e3b99b275c006594738f3fc6f7..93c5b1ae3db0c63be80af4a5baba63d3c40c0b33 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: globals.h,v 1.89 2000/05/12 00:29:07 wessels Exp $
+ * $Id: globals.h,v 1.90 2000/05/28 17:00:13 wessels Exp $
  *
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
@@ -150,7 +150,7 @@ extern request_flags null_request_flags;
 extern int store_open_disk_fd; /* 0 */
 extern const char *SwapDirType[];
 extern storefs_entry_t *storefs_list;  /* NULL */
-extern int store_swap_low;
-extern int store_swap_high;
-extern int store_pages_max;
+extern int store_swap_low;     /* 0 */
+extern int store_swap_high;    /* 0 */
+extern int store_pages_max;    /* 0 */
 extern size_t store_maxobjsize;
index 11fc6a74053d4dc268b0df73bc321113b3696def..472bf2c49c4094359fa93197c4fc61580e075a13 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.523 2000/05/16 07:06:06 wessels Exp $
+ * $Id: store.cc,v 1.524 2000/05/28 17:00:13 wessels Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -97,9 +97,6 @@ static EVH storeLateRelease;
 #else
 static dlink_list inmem_list;
 #endif
-static int store_pages_max = 0;
-static int store_swap_high = 0;
-static int store_swap_low = 0;
 static Stack LateReleaseStack;
 
 #if URL_CHECKSUM_DEBUG