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.17 by greg, Sat Jun 7 05:09:46 2025 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines