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

Comparing ray/src/gen/gendaymtx.c (file contents):
Revision 2.42 by greg, Thu Feb 27 19:00:00 2025 UTC vs.
Revision 2.43 by greg, Fri Jun 6 19:11:21 2025 UTC

# Line 83 | Line 83 | static const char RCSid[] = "$Id$";
83   #define _USE_MATH_DEFINES
84   #include <stdlib.h>
85   #include <ctype.h>
86 + #include "paths.h"
87   #include "platform.h"
88   #include "rtmath.h"
89   #include "rtio.h"
# Line 90 | Line 91 | static const char RCSid[] = "$Id$";
91   #include "sun.h"
92   #include "loadEPW.h"
93  
93 char *progname;                                 /* Program name */
94   const double DC_SolarConstantE = 1367.0;        /* Solar constant W/m^2 */
95   const double DC_SolarConstantL = 127.5;         /* Solar constant klux */
96  
# Line 332 | Line 332 | main(int argc, char *argv[])
332          int     i, j;
333          double  timeinterval = 0;
334  
335 <        progname = argv[0];
335 >        fixargv0(argv[0]);
336                                          /* get options */
337          for (i = 1; i < argc && argv[i][0] == '-'; i++)
338                  switch (argv[i][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines