🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1525

unoffical patch to 6.4.15 menu core dump

#1525
From: Paul Eggert
Date: Sun, 14 Apr 1991 18:17
26 lines
1392 bytes
Here's an unofficial patch to the widely reported menu core dumps in NN 6.4.15.
It's only a workaround, but it works for me.

===================================================================
RCS file: menu.c,v
retrieving revision 1.1
diff -c -r1.1 menu.c
*** 1.1	1991/04/11 22:11:32
--- menu.c	1991/04/13 17:10:54
***************
*** 1136,1142 ****
  
    same_prompt:
  
!     if (!IS_VISIBLE(articles[firsta+cura]))
  	cura = next_root_article(firsta + cura) - firsta;
  
       if (cura < 0 || cura > numa) cura = 0;
--- 1136,1142 ----
  
    same_prompt:
  
!     if (firsta+cura < n_articles && !IS_VISIBLE(articles[firsta+cura]))
  	cura = next_root_article(firsta + cura) - firsta;
  
       if (cura < 0 || cura > numa) cura = 0;
Technical Details
Message-ID: <1991Apr14.181712.3956@twinsun.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!gmdzi!unido!math.fu-berlin.de!fub!ox.com!caen!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!twinsun!usenet

Show Full Headers
Complete Article Headers
Message-ID: <1991Apr14.181712.3956@twinsun.com>
Subject: unoffical patch to 6.4.15 menu core dump
Date: Sun, 14 Apr 1991 18:17:12 +0000
From: eggert@twinsun.com (Paul Eggert)
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!gmdzi!unido!math.fu-berlin.de!fub!ox.com!caen!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!twinsun!usenet
Newsgroups: news.software.nn
Sender: usenet@twinsun.com
Organization: Twin Sun, Inc
Lines: 26
Nntp-Posting-Host: burns