--- ray/src/hd/rholo4.c 1998/12/18 11:56:11 3.23 +++ ray/src/hd/rholo4.c 1998/12/20 20:39:31 3.24 @@ -28,8 +28,8 @@ static FILE *dpout; disp_open(dname) /* open the named display driver */ char *dname; { - char buf[128], fd0[8], fd1[8], *cmd[5], *ofn; - int i, n; + char buf[128], fd0[8], fd1[8], *cmd[5], *sfn; + int i, n, len; /* get full display program name */ #ifdef DEVPATH sprintf(buf, "%s/%s%s", DEVPATH, dname, HDSUF); @@ -68,11 +68,17 @@ char *dname; /* write out hologram grids & octrees */ for (i = 0; hdlist[i] != NULL; i++) { bcopy((char *)hdlist[i], buf, sizeof(HDGRID)); - n = vdef(OSECTION); - ofn = i