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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.42 by greg, Thu Sep 15 22:34:41 2016 UTC vs.
Revision 2.43 by greg, Mon Jul 20 15:54:29 2020 UTC

# Line 177 | Line 177 | quit(ec)                       /* make sure exit is called */
177   int     ec;
178   {
179          if (ray_pnprocs > 0)    /* close children if any */
180 <                ray_pclose(0);          
180 >                ray_pclose(0);
181 >        else if (ray_pnprocs < 0)
182 >                _exit(ec);      /* avoid flush() in child */
183          exit(ec);
184   }
185  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines