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

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

# Line 1 | Line 1
1 + #ifndef lint
2 + static const char RCSid[] = "$Id$";
3 + #endif
4   /*
5   * Compute time-step glare using imageless DGP calculation method.
6   *
# Line 33 | Line 36
36   #include "resolu.h"
37   #include "cmglare.h"
38  
36 char    *progname;                      /* global argv[0] */
37
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 184 | 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
> Changed lines