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.20 by greg, Mon Feb 6 22:40:21 2023 UTC

# Line 170 | Line 170 | userr:
170  
171   void
172   eputs(                          /* put string to stderr */
173 <        char  *s
173 >        const char  *s
174   )
175   {
176          static int  midline = 0;
# 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