--- ray/src/hd/rholo.c 1997/12/19 10:41:42 3.30 +++ ray/src/hd/rholo.c 1997/12/22 11:06:53 3.32 @@ -88,6 +88,8 @@ char *argv[]; goto userr; } /* get root file name */ + if (i >= argc) + goto userr; rootname(froot, hdkfile=argv[i++]); /* load variables? */ if (i < argc) @@ -489,7 +491,7 @@ PACKET *pl; p->next = freepacks; freepacks = p; } - if (n2flush > 512*RPACKSIZ*nprocs) { + if (n2flush > 1024*RPACKSIZ*nprocs) { hdflush(NULL); /* flush holodeck buffers */ n2flush = 0; }