From 1c5f4bc94dedd724bdf3cfb5384a4e8fef406acf Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 27 May 1999 08:42:31 +0000 Subject: [PATCH] compile bugs --- src/cache_cf.cc | 4 +++- src/store_rebuild.cc | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index ed095322b4..a36f0b1b41 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.331 1999/05/26 20:41:18 wessels Exp $ + * $Id: cache_cf.cc,v 1.332 1999/05/27 02:42:31 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -805,8 +805,10 @@ parse_cachedir(cacheSwap * swap) self_destruct(); if (0 == strcasecmp(type_str, "ufs")) { storeUfsDirParse(swap); +#if USE_ASYNC_IO } else if (0 == strcasecmp(type_str, "asyncufs")) { storeAufsDirParse(swap); +#endif } else { fatalf("Unknown cache_dir type '%s'\n", type_str); } diff --git a/src/store_rebuild.cc b/src/store_rebuild.cc index 26c4233564..a3c2a64ea8 100644 --- a/src/store_rebuild.cc +++ b/src/store_rebuild.cc @@ -1,6 +1,6 @@ /* - * $Id: store_rebuild.cc,v 1.64 1999/05/26 04:58:52 wessels Exp $ + * $Id: store_rebuild.cc,v 1.65 1999/05/27 02:42:32 wessels Exp $ * * DEBUG: section 20 Store Rebuild Routines * AUTHOR: Duane Wessels @@ -47,7 +47,7 @@ storeCleanupDoubleCheck(const StoreEntry * e) int dirn = e->swap_file_number >> SWAP_DIR_SHIFT; if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_UFS) (void) 0; - if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_UFS_ASYNC) + if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_ASYNCUFS) (void) 0; else return 0; -- 2.47.3