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

Comparing ray/src/rt/rview.c (file contents):
Revision 2.32 by greg, Sat Dec 12 19:01:00 2009 UTC vs.
Revision 2.33 by greg, Sat Dec 12 23:08:13 2009 UTC

# Line 27 | Line 27 | int  code;
27                  printmemstats(stderr);
28   #endif
29          if (ray_pnprocs > 0)    /* close children if any */
30 <                ray_pclose(0);          
31 <        devclose();
30 >                ray_pclose(0);
31 >        else if (!ray_pnprocs)  /* in parent */
32 >                devclose();
33          exit(code);
34   }
35  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines