Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 Fluke 1/4/84; site fluke.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!cornell!uw-beaver!ssc-vax!fluke!joe From: joe@fluke.UUCP (Joe Kelsey) Newsgroups: net.sources,net.news.b Subject: Re: vnews bug fixes (virtterm.c) (actual virtterm.c diffs) Message-ID: <1666@vax4.fluke.UUCP> Date: Thu, 14-Jun-84 18:24:45 EDT Article-I.D.: vax4.1666 Posted: Thu Jun 14 18:24:45 1984 Date-Received: Sat, 16-Jun-84 03:51:25 EDT References: <1012@nsc.UUCP> <127@muddcs.UUCP> <1040@nsc.UUCP> <1665@vax4.fluke.UUCP> Organization: John Fluke Mfg. Co., Everett, WA Lines: 70 > 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