ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/raypwin.c
(Generate patch)

Comparing ray/src/rt/raypwin.c (file contents):
Revision 2.8 by greg, Tue Oct 26 03:45:35 2010 UTC vs.
Revision 2.9 by greg, Tue Jan 8 00:16:31 2019 UTC

# Line 122 | Line 122 | ray_pclose(            /* close one or more child processes */
122          int     nsub
123   )
124   {
125 <        if (nsub > ray_pnprocs)
125 >        if ((nsub <= 0) | (nsub > ray_pnprocs))
126                  nsub = ray_pnprocs;
127          ray_pnprocs -= nsub;
128          if ((ray_pnidle -= nsub) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines