Article View: news.software.readers
Article #11964Re: Tin and r.v.satellites.dbs ??
From: Dave Hill
Date: Mon, 17 Oct 1994 16:33
Date: Mon, 17 Oct 1994 16:33
41 lines
2167 bytes
2167 bytes
Ragnar Danneskjold (ragnar@rahul.net) wrote:
: Why is it that if I subscribe to rec.video.satellites.dbs, exit tin,
: and get back into tin r.v.s.d comes up with a leading "u", says
: only rec.video, but has the description for the .dbs group?
It's a bug! I found it as well and I have reported it to Iain.
It gets better if you are subscribed to r.v as well!!
The problem is that rec.video.satellites.dbs and rec.video hash to the
same value and the function that searches the hash chain is screwed.
The fix is simple, one line:-
*** active.c.orig Fri Oct 7 11:53:03 1994
--- active.c Fri Oct 7 11:53:47 1994
***************
*** 120,126 ****
* hash linked list chaining
*/
while (i >= 0) {
! if (strncmp (group, active[i].name, strlen (active[i].name)) == 0) {
return (i);
}
i = active[i].next;
--- 120,126 ----
* hash linked list chaining
*/
while (i >= 0) {
! if (strncmp (group, active[i].name, strlen (group)) == 0) {
return (i);
}
i = active[i].next;
(it could just use strcmp I suppose!)
--
Dave Hill davidh@Harston.CV.COM
Employed by, but not speaking for: Computervision Ltd +44 223 872377 x352
Harston Mill, Harston, Cambridge, CB2 5NH, UK
"Six munce ago, I cutn't even spel enjuneir, and now I are one."
Technical Details
Message-ID:
<1994Oct17.163339.9604@medusa.cv.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!hilbert.dnai.com!agate!overload.lbl.gov!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!swrinde!pipex!uknet!cvedg!medusa.cv.com!davidhReferences:
<CxJKor.Mxx@rahul.net>Show Full Headers
Complete Article Headers
Message-ID: <1994Oct17.163339.9604@medusa.cv.com> Subject: Re: Tin and r.v.satellites.dbs ?? Date: Mon, 17 Oct 1994 16:33:39 +0000 From: davidh@Harston.CV.COM (Dave Hill) References: <CxJKor.Mxx@rahul.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!hilbert.dnai.com!agate!overload.lbl.gov!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!swrinde!pipex!uknet!cvedg!medusa.cv.com!davidh Newsgroups: news.software.readers Sender: news@medusa.cv.com Nntp-Posting-Host: newton.harston.cv.com Organization: Computervision R&D LTD. X-Newsreader: TIN [version 1.2 PL2] Lines: 41