🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1981

Re: A small bug or a funny feature ??

#1981
From: John R. Schutz
Date: Tue, 13 Aug 1991 21:25
35 lines
1947 bytes
volker@vlsivie.tuwien.ac.at (Volker Hamann) writes:

>In <2108@aut.autelca.ascom.ch> dhuber@aut.autelca.ascom.ch (Daniel Huber) writes:

>>Menu goes from/to	we type		this selects

>>Did somebody else recognize this???

>Even worse, when I have a menu with, e.g., items a-s and select "t",
>all I get is a memory fault (with core dump).

I'm not sure about Daniel Huber's problem, but they're probably
related.  Volker's problem was recognized when patch 16 came out.
Someone (I'm sorry, whoever.  I don't remember who you are!) came out
with an unofficial patch that fixed the problem.  The following should
work:

1) edit the file menu.c
2) in menu.c, change the line that reads:

   if (article_id < 0 || article_id > menu_articles) {

to

   if (article_id < 0 || article_id >= menu_articles) {

That should do it.  Simple, but important.

							john
   
--
| John R. Schutz                     | Email&NeXTmail:                       |
| A learning NeXTie                  |		john@csrnxt1.ae.utexas.edu   |
| (512)328-0587                      | The 23rd periodic element is Vanadium |
| 3009 Hatley Dr., Austin, TX  78746 | 'V'.  V is roman numeral for 5. Hmmm  |
Technical Details
Message-ID: <john.682118719@csrnxt1.ae.utexas.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!gmdzi!unido!math.fu-berlin.de!ox.com!hela!widener!ukma!wupost!cs.utexas.edu!helios!inetg1!ut-emx!csrnxt1.ae.utexas.edu!john
References: <2108@aut.autelca.ascom.ch> <1991Aug13.133921.19646@email.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Message-ID: <john.682118719@csrnxt1.ae.utexas.edu>
Subject: Re: A small bug or a funny feature ??
Date: Tue, 13 Aug 1991 21:25:19 +0000
From: john@csrnxt1.ae.utexas.edu (John R. Schutz)
References: <2108@aut.autelca.ascom.ch> <1991Aug13.133921.19646@email.tuwien.ac.at>
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!ox.com!hela!widener!ukma!wupost!cs.utexas.edu!helios!inetg1!ut-emx!csrnxt1.ae.utexas.edu!john
Newsgroups: news.software.nn
Sender: news@ut-emx.uucp
Organization: Those wacky, wacky fellas at UT's CSR
Lines: 35