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

Comparing ray/src/util/scanner.c (file contents):
Revision 1.3 by greg, Sat Feb 22 02:07:30 2003 UTC vs.
Revision 1.4 by schorsch, Thu Jun 26 00:58:11 2003 UTC

# Line 41 | Line 41 | double  targeth = 3.0;                 /* target height (inches) */
41   int  xres = 16;                         /* x sample resolution */
42   int  yres = 16;                         /* y sample resolution */
43  
44 + static void  quit(int code);
45  
46   main(argc, argv)
47   int  argc;
48   char  *argv[];
49   {
50          char  *strcat(), *mktemp();
50        int  quit();
51          int  i;
52  
53 + #ifdef SIGHUP
54          signal(SIGHUP, quit);
55 + #endif
56          signal(SIGINT, quit);
57          signal(SIGTERM, quit);
58 + #ifdef SIGXCPU
59          signal(SIGXCPU, SIG_IGN);
60          signal(SIGXFSZ, SIG_IGN);
61 + #endif
62  
63          for (i = 1; i < argc && argv[i][0] == '-'; i++)
64                  switch (argv[i][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines