Re: [SQU] [From CVS] cache no longer working ...

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 21 Nov 2000 12:35:47 -0700

On Tue, Nov 21, 2000, Marc G. Fournier wrote:
> >
> > I'll fix it in the next day or so. If you want to get rid of it,
> > something like:
> >
> > .. will do the trick.
>
> like what? :)
>

Wow. I'm having a bad day. :)

Index: store_dir_diskd.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/fs/diskd/store_dir_diskd.c,v
retrieving revision 1.24
diff -u -r1.24 store_dir_diskd.c
--- store_dir_diskd.c 2000/11/10 09:04:52 1.24
+++ store_dir_diskd.c 2000/11/21 19:24:01
@@ -805,7 +805,10 @@
        disk_entry_newer = e ? (s.lastref > e->lastref ? 1 : 0) : 0;
         if (!used && (rb->flags.need_to_validate ||
             (opt_store_doublecheck != DBLCHECK_NONE))){
+ file_bad = 0;
+#if 0
             file_bad = storeDiskdCheckFile(SD, s.swap_filen, s.swap_file_sz);
+#endif
         } else
             file_bad = 0;
         if (file_bad){

there. :)

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 21 2000 - 12:37:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:30 MST