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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.24 by greg, Wed May 25 04:44:25 2005 UTC vs.
Revision 2.25 by greg, Thu May 26 14:46:21 2005 UTC

# Line 213 | Line 213 | init(int np)                           /* start rtrace and set up buffers */
213          ofun[OBJ_SPHERE].funp = o_sphere;
214          ofun[OBJ_RING].funp = o_ring;
215                                          /* set up signal handling */
216 < #ifdef SIGPIPE /* not present on Windows */
216 >        signal(SIGINT, quit);
217 > #ifdef SIGHUP
218 >        signal(SIGHUP, quit);
219 > #endif
220 > #ifdef SIGTERM
221 >        signal(SIGTERM, quit);
222 > #endif
223 > #ifdef SIGPIPE
224          signal(SIGPIPE, quit);
225   #endif
226          rtp = &rt0;                     /* start rtrace process(es) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines