tanya@adds.newyork.NCR.COM ( tanya katz ) (10/10/90)
This is the result of attempting to apply the sc6.9 upgrade patch to the sc6.8 source was the following failed hunk: sc.c# *************** *** 885,890 temp = strcpy(xmalloc((unsigned)(strlen(line)+1)),line); templim = linelim; editexp(currow,curcol); temp1= strcpy(xmalloc((unsigned)(strlen(line)+1)),line); strcpy(line, temp); --- 895,901 ----- temp = strcpy(xmalloc((unsigned)(strlen(line)+1)),line); templim = linelim; + linelim = 0; /* reset line to empty */ editexp(currow,curcol); temp1= strcpy(xmalloc((unsigned)(strlen(line)+1)),line); strcpy(line, temp); I cannot find this code. Would some kind soul point me to the correct case in the switch where this should fit? It also appears that temp, templim and temp1 would be undefined, as grep couldn't locate them in my current code??? Any help would be appreciated. BTW, sc6.9 compiled and is running ok without this. I guess the case where this code goes wasn't hit yet! -Tanya tanya.katz@adds.newyork.ncr.com -OR- ...uunet!ncrlnk!adds!tanya ADDS Inc, 100 Marcus Blvd, Hauppauge, NY 11788 - Tel: (516) 231-5400 x430