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

Comparing ray/src/util/dctimestep.c (file contents):
Revision 2.53 by greg, Thu Mar 27 16:34:23 2025 UTC vs.
Revision 2.55 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 14 | Line 14 | static const char RCSid[] = "$Id$";
14   #include "platform.h"
15   #include "resolu.h"
16  
17 char    *progname;                      /* global argv[0] */
18
17   /* Sum together a set of images and write result to fout */
18   static int
19   sum_images(const char *fspec, const CMATRIX *cv, FILE *fout)
# Line 180 | Line 178 | main(int argc, char *argv[])
178          CMATRIX         *cmtx;          /* component vector/matrix result */
179          char            fnbuf[256];
180          int             a, i;
181 <
182 <        progname = argv[0];
181 >                                        /* set global progname */
182 >        fixargv0(argv[0]);
183                                          /* get options */
184          for (a = 1; a < argc && argv[a][0] == '-'; a++)
185                  switch (argv[a][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines