Re: cvs commit: squid3/src Store.h protos.h store.cc store_client.cc store_swapout.cc

From: Tsantilas Christos <chtsanti@dont-contact.us>
Date: Wed, 18 Apr 2007 21:33:03 +0300

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.cc 18 Apr 2007 00:47:23 -0000 1.20
+++ store_swapout.cc 18 Apr 2007 18:24:04 -0000
@@ -234,8 +234,8 @@
 #if SIZEOF_OFF_T == 4

     if (mem_obj->endOffset() > 0x7FFF0000) {
- 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()
>
> .....................
Received on Wed Apr 18 2007 - 15:45:50 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT