--- ray/src/hd/rholo2l.c 1997/12/01 16:32:49 3.6 +++ ray/src/hd/rholo2l.c 1997/12/11 11:51:20 3.8 @@ -16,15 +16,16 @@ static char SCCSid[] = "$SunId$ SGI"; #include #ifndef MAXPROC -#define MAXPROC 16 +#define MAXPROC 64 #endif +int nprocs = 0; /* running process count */ + static char pfile[] = TEMPLATE; /* persist file name */ static int rtpd[MAXPROC][3]; /* process descriptors */ static float *rtbuf = NULL; /* allocated i/o buffer */ static int maxqlen = 0; /* maximum packets per queue */ -static int nprocs = 0; /* number of processes */ static PACKET *pqueue[MAXPROC]; /* packet queues */ static int pqlen[MAXPROC]; /* packet queue lengths */ @@ -56,7 +57,8 @@ start_rtrace() /* start rtrace process */ rtargv[rtargc++] = "-y"; rtargv[rtargc++] = "0"; rtargv[rtargc++] = "-fff"; rtargv[rtargc++] = vbool(VDIST) ? "-ovl" : "-ovL"; - rtargv[rtargc++] = nowarn ? "-w-" : "-w+"; + if (nowarn) + rtargv[rtargc++] = "-w-"; if (npt > 1) { mktemp(pfile); rtargv[rtargc++] = "-PP"; rtargv[rtargc++] = pfile;