Hi Duane,
the StoreEntry::swapOut() does not compile when SIZEIF_OFF_T==4
I am using the following patch, but I am not sure if it is OK ...
Regards,
Christos
--- store_swapout.cc18 Apr 2007 00:47:23 - 1.20
+++ store_swapout.cc18 Apr 2007 18:24:04 -
@@ -234,8 +234,8 @@
#if SIZEOF_OFF_T == 4
if (mem_obj->endOffset() > 0x7FFF) {
-debug(20, 0) ("WARNING: preventing off_t overflow for %s\n",
storeUrl(e));
-storeAbort(e);
+debug(20, 0) ("WARNING: preventing off_t overflow for %s\n",
storeUrl(this));
+storeAbort(this);
return;
}
Duane Wessels wrote:
> ...
> Converted three store_swapout.cc functions to StoreEntry class methods
>
> storeSwapOut() is now StoreEntry::swapOut()
> storeSwapOutFileClose() is now StoreEntry::swapOutFileClose()
> storeSwapOutAble() is now Storeentry::swapOutAble()
>
> .