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.41 by greg, Mon Apr 5 21:06:32 2021 UTC vs.
Revision 2.43 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 14 | Line 14 | static const char RCSid[] = "$Id$";
14   #include <math.h>
15   #include "rtio.h"
16   #include "platform.h"
17 + #include "paths.h"
18   #include "bsdfrep.h"
18                                /* global argv[0] */
19 char                    *progname;
19  
20   typedef struct {
21          const char      *fname;         /* input file path */
# Line 234 | 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