From d0d3ec9461da62c28bd0d6a24affbb537744d9ed Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 17 Jul 1997 02:58:24 +0000 Subject: [PATCH] rename swap "log" to "swap.state" --- src/cf.data.pre | 2 +- src/store_dir.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cf.data.pre b/src/cf.data.pre index 194b6275d1..2bbccb6571 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -537,7 +537,7 @@ TYPE: string LOC: Config.Log.swap DEFAULT: none DOC_START - Location for the cache "swap log." This log file holds the + Location for the cache "swap.log." This log file holds the metadata of objects saved on disk. It is used to rebuild the cache during startup. Normally this file resides in the first 'cache_dir' directory, but you may specify an alternate diff --git a/src/store_dir.cc b/src/store_dir.cc index 8265343700..ae15ab235b 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.24 1997/07/07 05:29:57 wessels Exp $ + * $Id: store_dir.cc,v 1.25 1997/07/16 20:58:25 wessels Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -246,7 +246,7 @@ storeDirSwapLogFile(int dirn, const char *ext) strncat(path, digit, 3); } else { xstrncpy(path, storeSwapDir(dirn), SQUID_MAXPATHLEN - 64); - strcat(path, "/log"); + strcat(path, "/swap.state"); } if (ext) strncat(path, ext, 16); -- 2.47.2