Bug fix in ov3.c

Richard Michael Todd rmtodd at mailhost.ecn.ou.edu
Wed Aug 25 21:02:15 UTC 1999


In message <19990825160303S.kondou at inn.do.mms.mt.nec.co.jp>you write:
>In article <m11JWFN-000FaBC at independence.ecn.ou.edu>,
>	Richard Michael Todd <rmtodd at mailhost.ecn.ou.edu> wrote;
>
>} P.S.  I think that case b) above may  also be the reason for the
>} "truncated overview" errors from expireover, which indicates that said 
>} error message is spurious and can be silenced.  But I'm still not entirely
>} sure of this, so I didn't send a patch to change that. 
>
>Wow, I think you're correct.  Maybe ftruncate(newidx) after
>while() loop would resolve this problem.  Or do you have
>the other one?

Well, a ftruncate() would certainly resolve the problem.  On the other hand,
so would just taking out the error message from tradindexed_search and letting
it return FALSE to indicate that you've hit the end of the overview data.
I suppose it's a matter of taste whether you think that the IDX files should
always have their size represent the max data that group.index thinks could
be there, or whether it's okay that they can be shorter -- it's not as if we
have an external specification mandating what the .IDX files should look like.


More information about the inn-workers mailing list