🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4049

Re: nov-ised nn fixed to not need nnmaster, implement P

#4049
From: Wolfgang Rupprecht
Date: Fri, 14 May 1993 19:14
34 lines
1985 bytes
xcea@uxa.ecn.bgu.edu (Chad Adams) writes:
>So far is seems to work without NNTP execpt if you rm your .newsrc file
>and choise not to use the backup copy and to create a new one from
>scratch it core dumps.

This appears to be a bug in the base nn code.  Here is a patch:

diff started at Sat May 15 02:08:52
cd /v/src/nn-nov/
diff -c newsrc.c.~1~ newsrc.c
*** newsrc.c.~1~	Fri May 14 06:09:46 1993
--- newsrc.c	Sat May 15 02:05:22 1993
***************
*** 381,387 ****
  	     case RCX_TIME_CONF:
  	     case RCX_RNLAST:
  		last_new_group = get_last_new();
! 		rc_mtime = m_time(rc);
  		if (last_new_group < 0 || rc_mtime < last_new_group)
  		    last_new_group = rc_mtime;
  	    }
--- 381,387 ----
  	     case RCX_TIME_CONF:
  	     case RCX_RNLAST:
  		last_new_group = get_last_new();
! 		rc_mtime = rc ? m_time(rc) : 0;
  		if (last_new_group < 0 || rc_mtime < last_new_group)
  		    last_new_group = rc_mtime;
  	    }

diff exited abnormally with code 1 at Sat May 15 02:08:54
-- 
Wolfgang Rupprecht          wolfgang@wsrcc.com (or) decwrl!wsrcc!wolfgang 
IP: [140.174.88.1]          39469 Gallaudet Drive, Fremont, CA 94538-4511
Technical Details
Message-ID: <1t2c9u$8ta@wsrcc.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.nn.mbox.zip!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!usenet.ee.pdx.edu!fastrac.llnl.gov!wsrcc.com!not-for-mail
References: <C6xJ4z.214@well.sf.ca.us> <1stspk$h3p@uxa.ecn.bgu.edu> <1sttc7$ial@uxa.ecn.bgu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1t2c9u$8ta@wsrcc.com>
Subject: Re: nov-ised nn fixed to not need nnmaster, implement P
Date: Fri, 14 May 1993 19:14:38 +0000
From: wolfgang@wsrcc.com (Wolfgang Rupprecht)
References: <C6xJ4z.214@well.sf.ca.us> <1stspk$h3p@uxa.ecn.bgu.edu> <1sttc7$ial@uxa.ecn.bgu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!usenet.ee.pdx.edu!fastrac.llnl.gov!wsrcc.com!not-for-mail
Newsgroups: news.software.b,news.software.readers,news.software.nn
Article-I.D.: wsrcc.1t2c9u$8ta
Organization: W S Rupprecht Computer Consulting, Fremont CA
Lines: 34
NNTP-Posting-Host: wsrcc.com