Article View: news.software.nntp
Article #50388Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)
From: Russ Allbery
Date: Sat, 03 Feb 2001 20:28
Date: Sat, 03 Feb 2001 20:28
26 lines
2380 bytes
2380 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: >>>>>> "AG" == Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: > AG> So it looks like sometimes, but not always, sp->tabno is being > AG> incremented incorrectly. I can't currently see where the problem > AG> is, > found it. > At the beginning of search() is this: > unsigned long taboffset = 0; > which should be > unsigned long taboffset = sp->tabno * conf.tsize; > Also, further down in search() there's a read() call to read a .pag > entry; if the call fails to read the expected number of bytes, > pagtab.pos is still updated as though that many bytes _were_ read. Thanks! These have both been fixed in CURRENT and STABLE. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylwvb7cy0b.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <87vgqu2ipo.fsf@erlenstar.demon.co.uk> <87elxh1wik.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <ylwvb7cy0b.fsf@windlord.stanford.edu> Subject: Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?) Date: Sat, 03 Feb 2001 20:28:04 +0000 From: Russ Allbery <rra@stanford.edu> References: <m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <87vgqu2ipo.fsf@erlenstar.demon.co.uk> <87elxh1wik.fsf@erlenstar.demon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 981232084 17494 171.64.13.23 (3 Feb 2001 20:28:04 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)