Article View: news.software.nntp
Article #50257Re: Has anyone built INN-2.3.1 on Open BSD?
From: Charlie Rebecca
Date: Mon, 29 Jan 2001 08:28
Date: Mon, 29 Jan 2001 08:28
59 lines
3594 bytes
3594 bytes
:: From: Rebecca Ore <rebecca@ogoense.net>
ARRRGH!!! MY SEKRIT IS REVEALED!!! I use `vi' as newsreader and
forgot to change your name to mine before posting. How shall I
ever live this down. Oh well. Like They say, you only live once,
and that's once too often for me.
:: Try this patch, just to see if it gets you anywhere. I think I
I don't think it will get you anywhere, because it\s doing a dbz
search that requires a text file lookup, and if the seek into the
textfile is b0rken, you won't get any result for this to work with.
That's probably why you saw nothing with grephistory results, when
I expected to see the first line from the history file -- for me,
my md5 hash lookups returned the offsets but my seek failed.
That's what I get for not sleeping.
Try the following patch against inn-version/lib/dbz.c . This will
require you to either rebuild everything for grephistory to use this,
or else you need to `make; make install' in the lib directory and
then return and `make grephistory' in the expire directory.
I'd try this myself, but I'm not running a NetBSD machine with this
history format, so...
--- /news/src/inn-STABLE-20001114/lib/dbz.c-DIST Tue Nov 14 11:03:20 2000
+++ dbz.c Mon Jan 29 09:23:27 2001
@@ -972,7 +972,7 @@
offset <<= conf.dropbits;
if (offset) /* backspace 1 character to read '\n' */
offset--;
- if (fseek(basef, (OFFSET_T) offset, SEEK_SET) != 0) {
+ if (fseek(basef, (long) offset, SEEK_SET) != 0) {
DEBUG(("fetch: seek failed\n"));
return FALSE;
}
cd into lib, save this,
patch < this-patch-file
and rebuild as above.
This is if what I had noted before really is the problem, where
apparently fseek() was failing except where I forced it to be a
(long) offset.
This patch should be tried if the transfer-type history lookups where
you pretend to be a peer are failing. If they succeed, you do not
need this. I'm suspecting they are failing, else your other peers
should not be sending you the same articles.
HTH, HAND, Meow.
The One And Only Real True Rebecca
Technical Details
Message-ID:
<9539j0$ff9$1@news.contactel.cz>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!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!news.clara.net!colt.net!news.tele.dk!news.Contactel.CZ.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-forReferences:
<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> <m3u26i7reg.fsf@pyrophore.ogoense.net> <95386l$fau$1@news.contactel.cz>Show Full Headers
Complete Article Headers
Message-ID: <9539j0$ff9$1@news.contactel.cz> Subject: Re: Has anyone built INN-2.3.1 on Open BSD? Date: Mon, 29 Jan 2001 08:28:17 +0000 From: Charlie Rebecca <autocyberretributionmeowbot@plonk.invalid> 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> <m3u26i7reg.fsf@pyrophore.ogoense.net> <95386l$fau$1@news.contactel.cz> 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!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!news.clara.net!colt.net!news.tele.dk!news.Contactel.CZ.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-for Newsgroups: news.software.nntp Organization: Customer of Contactel s.r.o, Praha CZ Lines: 58 NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.contactel.cz X-Trace: news.contactel.cz 980756897 b65836a3af260a840c3dfa714dfbe60d X-Complaints-To: Contactel Abuse <abuse@contactel.cz> X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!! X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300