--- ray/src/gen/mkillum2.c 1995/11/07 17:50:44 2.7 +++ ray/src/gen/mkillum2.c 1997/07/09 11:24:52 2.8 @@ -306,9 +306,9 @@ register struct rtproc *rt; bzero(rt->buf+6*rt->nrays, 6*sizeof(float)); errno = 0; if ( process(rt->pd, (char *)rt->buf, (char *)rt->buf, - 3*sizeof(float)*rt->nrays, + 3*sizeof(float)*(rt->nrays+1), 6*sizeof(float)*(rt->nrays+1)) < - 3*sizeof(float)*rt->nrays ) + 3*sizeof(float)*(rt->nrays+1) ) error(SYSTEM, "error reading from rtrace process"); i = rt->nrays; while (i--) {