# | 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': |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |