🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #547

DMD "version" bug

#547
From: Doug Gwyn
Date: Tue, 16 Jun 1987 18:06
17 lines
988 bytes
There is a bug in DMD Release 2.0 src/32ld/version.c; it also appears in
the AT&T UNIX System ToolChest "dmd-pgmg" package.  It shows up on some
host architectures when one uses escape sequences instead of hostagent.

...
VERSION(@(#)32ld:version.c	1.1);
...
byescseq()
...
	char termid[TERMIDSIZE];	/* DAG -- removed "+1" */
...
		lpindex = read(ttyfd,&termid[count],TERMIDSIZE-count);
					/* DAG -- added "-count" */
...
	romversion = termid[sizeof(termid)-2] - '0';
					/* DAG -- was "strlen" */
...
Technical Details
Message-ID: <5995@brl-smoke.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!husc6!cmcl2!brl-adm!brl-smoke!gwyn

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!ut-sally!husc6!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.bugs.sys5
Subject: DMD "version" bug
Message-ID: <5995@brl-smoke.ARPA>
Date: Tue, 16-Jun-87 14:06:53 EDT
Article-I.D.: brl-smok.5995
Posted: Tue Jun 16 14:06:53 1987
Date-Received: Sun, 21-Jun-87 07:35:48 EDT
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 17