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

Comparing ray/src/util/rad.c (file contents):
Revision 2.133 by greg, Mon Dec 23 01:39:27 2024 UTC vs.
Revision 2.134 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 145 | Line 145 | int    overture = 0;           /* overture calculation needed */
145  
146   int     children_running = 0;   /* set negative in children */
147  
148 char    *progname;              /* global argv[0] */
148   char    *rifname;               /* global rad input file name */
149  
150   char    radname[PATH_MAX];      /* root Radiance file name */
# Line 198 | Line 197 | main(
197          char    ropts[512];
198          char    popts[64];
199          int     i;
200 <
201 <        progname = argv[0];
200 >                                /* set global progname */
201 >        fixargv0(argv[0]);
202                                  /* get options */
203          for (i = 1; i < argc && argv[i][0] == '-'; i++)
204                  switch (argv[i][1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines