gwyn@brl-smoke.ARPA (Doug Gwyn ) (06/16/87)
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" */ ...