From: wessels <> Date: Thu, 17 Jul 1997 02:58:24 +0000 (+0000) Subject: rename swap "log" to "swap.state" X-Git-Tag: SQUID_3_0_PRE1~4876 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0d3ec9461da62c28bd0d6a24affbb537744d9ed;p=thirdparty%2Fsquid.git rename swap "log" to "swap.state" --- 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);