Re: Squid 2.5.STABLE10-NT won't rebuild store from disk

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Fri, 08 Jul 2005 23:21:03 +0200

Hi Andrey,

At 22.58 08/07/2005, Andrey Shorin wrote:

>Hello Andrey,
>
>Thursday, July 7, 2005, 18:12:25, Andrey Shorin wrote:
>
> > Subj. if swap.state file is deleted.
>
> > Debugging shows that's because
> > strncpy(dp->dent.d_name, dp->fileinfo.name, _MAX_FNAME) in readdir()
> > fails. Well, it was yesterday ;) Now this is sscanf() in
> > storeAufsDirGetNextFile() which fails. Can't get the cause yet...
>
>Comitted port/win32/src/readdir.c change to fix the problem (see patch
>attached).

Good catch. I was just looking on the problem some minutes ago
without success ....
This comes from the recent STABLE 10 64 bit large file support.

I have found another little problem in readdir.c, but not influent.

>P.S. squid-cvs@sourceforge mailing list doesn't reflect my commit (2
>hours passed since that). Is that OK?

I'm subscribed to Squid-cvs digest, if there is a little activity,
e-mail are sent on daily basis. On what mailing list do you are subscribed ?

Regards

Guido

>--
>Best regards,
> Andrey Shorin

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Fri Jul 08 2005 - 15:21:26 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:03 MDT