🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #17557

Re: trn-3.4.1 keeps asking about new groups!

#17557
From: Rick Murphy
Date: Fri, 05 Jan 1996 00:00
53 lines
2806 bytes
In article <4cgs1u$br6@azure.acsu.buffalo.edu>, Davin Milun (milun@cs.buffalo.edu) wrote:
: Duncan Gibson <duncan@yc.estec.esa.nl> wrote:
: �
: �We are running on HPUX 9.01 with c_news-Nov.94, nntp-1.5.11t5, and trn-3.4.1
: �
: �Since I came back after the Festive Season, I am asked everytime I start trn
: �whether I want to subscribe to new newsgroups which have come in since before
: �the Christmas break. I don't want to subscribe, so I hit 'n' or 'N' but the
: �next time that I start trn I am asked again. This never used to happen!
: �
: �I've checked that the system times on the news server and my machine are in
: �sync (they are) and that there are no obvious problems with the active and
: �active.times files (I can't see any) so I can't really work it out.
: �
: �Of course I can always type 'y' or 'Y' and then unsubscribe when I reach the
: �groups, but I'm intrigued as to why this is happening and I would rather keep
: �my .newsrc short.
: �
: �Has anyone else seen this before? Does anyone know how to fix whatever it is?
: 
: It's a bug in the way trn counts the number of past leap-years.  Since 1996
: is a leap year - it bit us now.
: 
: Here is a patch for it.
: 
: *** nntp.c_orig	Sat Nov 19 01:01:23 1994
: --- nntp.c	Wed Jan  3 01:41:34 1996
: ***************
: *** 320,324 ****
:   	day += maxdays[month];
:   
: !     ss = ((((year-1970) * 365 + (year-1968)/4 + day - 1) * 24L + hh) * 60
:   	  + mm) * 60 + ss;
:   
: --- 320,324 ----
:   	day += maxdays[month];
:   
: !     ss = ((((year-1970) * 365 + (year-1969)/4 + day - 1) * 24L + hh) * 60
:   	  + mm) * 60 + ss;
:   
: 
: Davin.
: -------------------------------------------------------------------------------
: Davin Milun    Internet:  milun@cs.Buffalo.EDU
:                Fax:       (716) 645-3464
:                WWW:       http://www.cs.buffalo.edu/~milun/

-- 
Rick Murphy, WA1SPT/4		Trusted Information Systems
rick@tis.com			Glenwood, MD 301-854-6889
This posting expresses MY opinions only - I do not speak for TIS.

Technical Details
Message-ID: <4ci8ue$no4@shemesh.tis.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
References: <DKnuzI.FsG@yc.estec.esa.nl> <4cgs1u$br6@azure.acsu.buffalo.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4ci8ue$no4@shemesh.tis.com>
Subject: Re: trn-3.4.1 keeps asking about new groups!
Date: Fri, 05 Jan 1996 00:00:00 +0000
From: rick@trusted.com (Rick Murphy)
References: <DKnuzI.FsG@yc.estec.esa.nl> <4cgs1u$br6@azure.acsu.buffalo.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
X-Deja-AN: 134101518
Distribution: inet
Followup-to: news.admin.misc,news.software.nntp,news.software.readers
Organization: Trusted Information Systems, Glenwood MD
Reply-to: rick@tis.com
Newsgroups: news.admin.misc,news.software.nntp,news.software.readers