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.5 by greg, Fri Oct 2 16:24:06 1992 UTC vs.
Revision 2.6 by greg, Tue Nov 3 16:52:20 1992 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10   *     9/26/85
11   */
12  
13 < #include  <stdio.h>
13 > #include  "standard.h"
14  
15 #ifdef MSDOS
16 #include  <fcntl.h>
17 #endif
18
19 #include  <math.h>
20
15   #include  <signal.h>
16  
17   #include  "color.h"
# Line 26 | Line 20 | static char SCCSid[] = "$SunId$ LBL";
20  
21   #include  "paths.h"
22  
29 extern char  *malloc();
23   extern float  *matchlamp();
24  
25   #define  FEQ(a,b)       ((a) >= .98*(b) && (a) <= 1.02*(b))
# Line 104 | Line 97 | char  **argv;
97          signal(SIGXFSZ, quit);
98   #endif
99  
100 <        progname = argv[0];
100 >        progname = argv[0] = fixargv0(argv[0]);
101  
102          for (i = 1; i < argc; i++)
103                  if (argv[i][0] == '-')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines