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

Comparing ray/src/px/ra_xyze.c (file contents):
Revision 2.15 by greg, Tue Oct 1 20:04:44 2024 UTC vs.
Revision 2.16 by greg, Fri Jun 6 19:11:21 2025 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   */
8  
9   #include  <math.h>
10 <
10 > #include  "paths.h"
11   #include  "platform.h"
12   #include  "color.h"
13   #include  "resolu.h"
# Line 21 | Line 21 | RGBPRIMS  outprims = STDPRIMS;         /* output primaries */
21   double  expcomp = 1.0;                  /* exposure compensation */
22   int  doflat = -1;                       /* produce flat file? */
23   double  origexp = -1.0;                 /* original exposure */
24 char  *progname;
24  
25   static gethfunc headline;
26   static void quiterr(char *err);
# Line 74 | Line 73 | int
73   main(int  argc, char  *argv[])
74   {
75          int  i;
76 +
77          SET_DEFAULT_BINARY();
78          SET_FILE_BINARY(stdin);
79          SET_FILE_BINARY(stdout);
80 <        progname = argv[0];
80 >        fixargv0(argv[0]);
81  
82          for (i = 1; i < argc; i++)
83                  if (argv[i][0] == '-')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines