# | Line 38 | Line 38 | start_rtrace() /* start rtrace process */ | |
---|---|---|
38 | int rmaxpack = 0; | |
39 | int psiz, n; | |
40 | /* get number of processes */ | |
41 | < | if (ncprocs <= 0) |
41 | > | if (ncprocs <= 0 || nprocs > 0) |
42 | return(0); | |
43 | if (ncprocs > MAXPROC) { | |
44 | sprintf(errmsg, | |
# | Line 77 | Line 77 | start_rtrace() /* start rtrace process */ | |
77 | if (!(maxqlen = n)) | |
78 | error(INTERNAL, | |
79 | "bad pipe buffer size assumption"); | |
80 | + | sleep(2); |
81 | } else if (n != maxqlen) | |
82 | error(INTERNAL, "varying pipe buffer size!"); | |
83 | rmaxpack += n; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |