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

Comparing ray/src/util/dcglare.c (file contents):
Revision 2.8 by greg, Wed Mar 5 02:59:58 2025 UTC vs.
Revision 2.10 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 36 | Line 36 | static const char RCSid[] = "$Id$";
36   #include "resolu.h"
37   #include "cmglare.h"
38  
39 char    *progname;                      /* global argv[0] */
40
39   /* Sum together a set of images and write result to fout */
40   static int
41   sum_images(const char *fspec, const CMATRIX *cv, FILE *fout)
# Line 187 | Line 185 | main(int argc, char *argv[])
185          clock_t timer = clock();
186   #endif /* DC_GLARE */
187  
188 <        progname = argv[0];
188 >        fixargv0(argv[0]);
189                                          /* get options */
190          for (a = 1; a < argc && argv[a][0] == '-'; a++)
191                  switch (argv[a][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)