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

Comparing ray/src/util/rsensor.c (file contents):
Revision 2.18 by greg, Tue Jun 9 21:34:15 2015 UTC vs.
Revision 2.19 by greg, Mon Jul 20 15:54:29 2020 UTC

# Line 77 | Line 77 | quit(ec)                       /* make sure exit is called */
77   int     ec;
78   {
79          if (ray_pnprocs > 0)    /* close children if any */
80 <                ray_pclose(0);          
80 >                ray_pclose(0);
81 >        else if (ray_pnprocs < 0)
82 >                _exit(ec);      /* avoid flush in child */
83          exit(ec);
84   }
85  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines