pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Pan 0.91 issues


From: Charles Kerr
Subject: Re: [Pan-devel] Pan 0.91 issues
Date: Wed, 5 Apr 2006 20:39:45 -0500 (CDT)
User-agent: SquirrelMail/1.4.6 [CVS]

> I'm trying to track that down, but still making my way around the new
> code. It looks like Pan's corrupting its article counters somewhere.
> Before I start Pan, I see:
>
> $ cd ~/.pan2
> $ grep easynet.test *
> newsgroups.dsc:easynet.test:Test group for customers of Easynet PLC UK.
> newsgroups.xov:easynet.test 44 23 1:1641
> newsrc-1:easynet.test: 0-1641
>
> Now, I start Pan, go to that group (easynet.test) and exit Pan. After
> that, I see:
>
> $ grep easynet.test *
> newsgroups.dsc:easynet.test:Test group for customers of Easynet PLC UK.
> newsgroups.xov:easynet.test 22 0 1:1641
> newsrc-1:easynet.test: 0-4294967295
>
> Now the newsrc string is 0-4294967295. Now, that big number looks
> suspiciously like (unsigned int) -1, doesn't it. :-)

Hm. I don't have the code handy right now but this smells like
tasks/task-xover.c's _high map.  Real simple to test, just put
print statements after all the _data.get_xover_high() and
before each _data.set_xover_high().

> It can also affect newsgroups.xov:
>
> $ grep 4294967295 newsgroups.xov
> newsgroups.xov:dsm.network 0 4294967295
> newsgroups.xov:easynet.adverts 0 4294967295
> newsgroups.xov:easynet.fr.adsl 0 4294967295
> newsgroups.xov:easynet.fr.support 0 4294967295
> (etc.)
>
> That bug would also explain two other things I've seen:
> a) get new headers stops working (is based on newsrc, I guess)
> b) getting all headers will show new headers is read






reply via email to

[Prev in Thread] Current Thread [Next in Thread]