vnews bug fixes (virtterm.c) (actual virtterm.c diffs)
Joe Kelsey
joe at fluke.UUCP
Fri Jun 15 08:24:45 AEST 1984
> Here are my estimates for the array sizes:
Huh? Where are those array sizes you ask? Well, fumble finger me!
Here are the virterm.c diffs:
*** ../misc/virtterm.c Wed Jun 6 14:58:41 1984
--- virtterm.c Thu Jun 14 13:58:45 1984
***************
*** 565,573
plodput(c) { *plodstr++ = c; }
_amove(row, col) {
! char direct[20];
! char rel[MAXPLEN + MAXLLEN + 50]; /* longest move is full screen */
! char ho[MAXPLEN + MAXLLEN + 50];
int cost, newcost;
register char *movstr;
--- 565,573 -----
plodput(c) { *plodstr++ = c; }
_amove(row, col) {
! char direct[128];
! char rel[(MAXLLEN*10)+(MAXPLEN*10)]; /* longest move is full screen */
! char ho[(MAXLLEN*10)+(MAXPLEN*10)];
int cost, newcost;
register char *movstr;
***************
*** 614,620
_vmove(orow, nrow) {
! char direct[20];
char *saveplod = plodstr;
if (CV) {
--- 614,620 -----
_vmove(orow, nrow) {
! char direct[128];
char *saveplod = plodstr;
if (CV) {
***************
*** 648,655
_hmove(ocol, ncol, row) {
! char direct[20];
! char ret[MAXLLEN + 50];
char *saveplod = plodstr;
char *movstr;
int cost, newcost;
--- 648,655 -----
_hmove(ocol, ncol, row) {
! char direct[128];
! char ret[MAXLLEN * 10];
char *saveplod = plodstr;
char *movstr;
int cost, newcost;
Hopefully, that should fix everything right up.
/Joe
More information about the Comp.sources.unix
mailing list