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

Comparing ray/src/px/pfilt.c (file contents):
Revision 2.10 by greg, Fri Jun 25 17:07:03 1993 UTC vs.
Revision 2.11 by greg, Tue Sep 21 10:55:54 1993 UTC

# Line 53 | Line 53 | double spread = 1e-4;          /* spread for star points */
53  
54   char  *tfname = NULL;
55  
56 + char  template[] = TEMPLATE;
57 +
58   char  *lampdat = "lamp.tab";    /* lamp data file */
59  
60   int  order;                     /* scanline ordering of input */
# Line 100 | Line 102 | char  **argv;
102          if (signal(SIGINT, quit) == SIG_IGN)
103                  signal(SIGINT, SIG_IGN);
104          if (signal(SIGHUP, quit) == SIG_IGN)
105 <                signal(SIGINT, SIG_IGN);
105 >                signal(SIGHUP, SIG_IGN);
106          signal(SIGTERM, quit);
107          signal(SIGPIPE, quit);
108   #ifdef  SIGXCPU
# Line 227 | Line 229 | char  **argv;
229                  if (singlepass)
230                          fin = stdin;
231                  else {
232 <                        tfname = mktemp(TEMPLATE);
232 >                        tfname = mktemp(template);
233                          if ((fin = fopen(tfname, "w+")) == NULL) {
234                                  fprintf(stderr, "%s: can't create ", progname);
235                                  fprintf(stderr, "temp file \"%s\"\n", tfname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines