🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9040

A patch to nn-6.5.3 for big article counts

#9040
From: J. Porter Clark
Date: Tue, 13 Oct 1998 00:00
31 lines
1726 bytes
I'm using a news server that has been running with an active file that
has never had its hi and lo numbers reset since 1993.  As a result,
there are some newsgroups (misc.jobs.offered comes to mind) which have
big numbers in the hi and lo fields in the active file.  When I enter
those newsgroups, nn goes into CPU spin.  I'm using the following patch
to make nn-6.5.3 behave.

*** newsrc.c.orig	Sun Aug 11 20:38:08 1996
--- newsrc.c	Tue Oct 13 20:28:34 1998
***************
*** 103,109 ****
  #define SEL_END_DIGEST	')'	/* end digest list */
  #define SEL_NEW		'&'	/* new group (group.name&nnn) */
  
! #define END_OF_LIST	10000000L /* Greater than any article number */
  
  /* line buffers */
  
--- 103,109 ----
  #define SEL_END_DIGEST	')'	/* end digest list */
  #define SEL_NEW		'&'	/* new group (group.name&nnn) */
  
! #define END_OF_LIST	0x7fffffffL	/* Greater than any article number */
  
  /* line buffers */
  
-- 
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Technical Details
Message-ID: <700v4l$ftf$1@drum.msfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <700v4l$ftf$1@drum.msfc.nasa.gov>
Subject: A patch to nn-6.5.3 for big article counts
Date: Tue, 13 Oct 1998 00:00:00 +0000
From: porter.clark@msfc.nasa.gov (J. Porter Clark)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 400826826
Sender: jpc@hammer.msfc.nasa.gov
X-Trace: news.msfc.nasa.gov 908328917 6954 (none) 128.158.173.26
Organization: http://www.msfc.nasa.gov/
X-PGP-Key-ID: 0x53EAB375
Newsgroups: news.software.nn
X-Complaints-To: abuse@news.msfc.nasa.gov