13 |
|
#include <ctype.h> |
14 |
|
#include <math.h> |
15 |
|
#include "rtio.h" |
16 |
– |
#include "platform.h" |
16 |
|
#include "bsdfrep.h" |
18 |
– |
/* global argv[0] */ |
19 |
– |
char *progname; |
17 |
|
|
18 |
|
typedef struct { |
19 |
|
const char *fname; /* input file path */ |
231 |
|
const char *symmetry = "0"; |
232 |
|
int ninpfiles, totinc; |
233 |
|
int a, i; |
234 |
< |
|
235 |
< |
progname = argv[0]; /* get options */ |
234 |
> |
/* set global progname */ |
235 |
> |
fixargv0(argv[0]); |
236 |
> |
/* get options */ |
237 |
|
for (a = 1; a < argc && argv[a][0] == '-'; a++) |
238 |
|
switch (argv[a][1]) { |
239 |
|
case 't': |