🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by J. Porter Clark Tue, 13 Oct 1998 00:00
A patch to nn-6.5.3 for big article counts
#9040
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads