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

Comparing ray/src/cv/pabopto2bsdf.c (file contents):
Revision 2.42 by greg, Mon Nov 21 18:28:24 2022 UTC vs.
Revision 2.43 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 16 | Line 16 | static const char RCSid[] = "$Id$";
16   #include "platform.h"
17   #include "paths.h"
18   #include "bsdfrep.h"
19                                /* global argv[0] */
20 char                    *progname;
19  
20   typedef struct {
21          const char      *fname;         /* input file path */
# Line 235 | Line 233 | main(int argc, char *argv[])
233          const char      *symmetry = "0";
234          int             ninpfiles, totinc;
235          int             a, i;
236 <
237 <        progname = argv[0];                     /* get options */
236 >                                        /* set global progname */
237 >        fixargv0(argv[0]);
238 >                                        /* get options */
239          for (a = 1; a < argc && argv[a][0] == '-'; a++)
240                  switch (argv[a][1]) {
241                  case 't':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines