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

Comparing ray/src/util/ranimove.c (file contents):
Revision 3.18 by greg, Mon Apr 18 22:39:13 2016 UTC vs.
Revision 3.19 by greg, Mon Jul 20 15:54:29 2020 UTC

# Line 193 | Line 193 | void
193   quit(int ec)                    /* make sure exit is called */
194   {
195          if (ray_pnprocs > 0)    /* close children if any */
196 <                ray_pclose(0);          
196 >                ray_pclose(0);
197 >        else if (ray_pnprocs < 0)
198 >                _exit(ec);      /* avoid flush in child */
199          exit(ec);
200   }
201  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines