Article View: news.software.nntp
Article #50255Re: Has anyone built INN-2.3.1 on Open BSD?
From: Rebecca Ore
Date: Mon, 29 Jan 2001 08:04
Date: Mon, 29 Jan 2001 08:04
60 lines
3313 bytes
3313 bytes
:: > I'll get back to you about the patches, but go ahead and give the
:: > `grephistory' commands a try with a few message IDs.
::
:: Went back to get them from the right groups, but still no results.
Try this patch, just to see if it gets you anywhere. I think I
added the needed debugging to `sm' and not `grephistory' since I
don't see heavy evidence of debuggery in the source I've found so
far.
Go to your inn-version/expire/ directory, where your grephistory
source is, and apply this patch that you've saved to some file
patch < name-of-this-patchfile
--- /news/src/inn-STABLE-20001114/expire/grephistory.c-OLD Fri Nov 19 10:16:57 1999
+++ /news/src/inn-STABLE-20001114/expire/grephistory.c Mon Nov 20 10:51:34 2000
@@ -50,7 +50,8 @@
int c;
int i;
- if (fseek(F, offset, SEEK_SET) == -1) {
+ if (fseek(F, (long)offset, SEEK_SET) == -1) {
+ /* if (fseek(F, offset, SEEK_SET) == -1) { */
(void)fprintf(stderr, "Can't seek to %ld, %s\n", offset, strerror(errno));
return FALSE;
}
@@ -77,7 +78,8 @@
{
int c;
- if (fseek(F, offset, SEEK_SET) == -1) {
+ if (fseek(F, (long)offset, SEEK_SET) == -1) {
+ /* if (fseek(F, offset, SEEK_SET) == -1) { */
(void)fprintf(stderr, "Can't seek to %ld, %s\n", offset, strerror(errno));
exit(1);
}
This is against a fairly old source, but probably should apply
pretty cleanly. If greagoir is building things for you, he would
be able to do this if you have problems.
Rebuild grephistory --
make grephistory
then try this hacked version with the message IDs that gave you
no results before
./grephistory -l '<mesage-idz>'
I'll look at the dbz k0deZ, and try to remember what all I had to
hack to get things to work, esp. depending on the results of your
trying to see if innd knows about message IDs it has already in
history.
viel spass damit
Charlie Fluffie
Technical Details
Message-ID:
<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!isdnet!newscore.gigabell.net!newsfeed.germany.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>Show Full Headers
Complete Article Headers
Message-ID: <95386l$fau$1@news.contactel.cz> Subject: Re: Has anyone built INN-2.3.1 on Open BSD? Date: Mon, 29 Jan 2001 08:04:38 +0000 From: Rebecca Ore <rebecca@ogoense.net> 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> 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!isdnet!newscore.gigabell.net!newsfeed.germany.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: 59 NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.contactel.cz X-Trace: news.contactel.cz 980755478 57e95bbb3edc2a66caed3aa6190835b2 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