🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #7677

bug in Microemacs <= v3.7

#7677
From: Thomas Almy
Date: Thu, 14 Aug 1986 22:07
20 lines
975 bytes
I discovered a bug in Microemacs that causes it to go into CMODE for ALL
files ending in "h" instead of being limited to ".h".

In file file.c, change the lines:

	if (*sptr == '.' &&
	   *(sptr + 1) == 'c' || *(sptr + 1) == 'h')

to:

	if (*sptr == '.' &&
	   (*(sptr + 1) == 'c' || *(sptr + 1) == 'h'))


I discovered this when I noticed that all the Forth files I was editing were
in CMODE (their extension is .4TH).

Tom Almy
Tektronix
Technical Details
Message-ID: <1684@tekgvs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!tekcrl!tekgvs!toma

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!tekcrl!tekgvs!toma
From: toma@tekgvs.UUCP (Thomas Almy)
Newsgroups: net.micro.pc
Subject: bug in Microemacs <= v3.7
Message-ID: <1684@tekgvs.UUCP>
Date: Thu, 14-Aug-86 18:07:12 EDT
Article-I.D.: tekgvs.1684
Posted: Thu Aug 14 18:07:12 1986
Date-Received: Sun, 17-Aug-86 05:29:24 EDT
Reply-To: toma@tekgvs (Thomas Almy)
Organization: Tektronix, Inc., Beaverton, OR.
Lines: 20