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.32 by greg, Sat Dec 12 19:01:00 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 +        devclose();
32 +        exit(code);
33 + }
34 +
35 +
36 + void
37   devopen(                                /* open device driver */
38          char  *dname
39   )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines