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.31 by greg, Fri Sep 5 19:45:42 2008 UTC vs.
Revision 2.33 by greg, Sat Dec 12 23:08:13 2009 UTC

# Line 19 | Line 19 | static const char      RCSid[] = "$Id$";
19  
20  
21   void
22 + quit(code)                      /* quit program */
23 + int  code;
24 + {
25 + #ifdef MSTATS
26 +        if (code == 2 && errno == ENOMEM)
27 +                printmemstats(stderr);
28 + #endif
29 +        if (ray_pnprocs > 0)    /* close children if any */
30 +                ray_pclose(0);
31 +        else if (!ray_pnprocs)  /* in parent */
32 +                devclose();
33 +        exit(code);
34 + }
35 +
36 +
37 + void
38   devopen(                                /* open device driver */
39          char  *dname
40   )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines