| 26 |
|
|
| 27 |
|
char *progname; /* argv[0] */ |
| 28 |
|
|
| 29 |
– |
char *libpath; /* library search path */ |
| 30 |
– |
|
| 29 |
|
int nowarn = 0; /* supress warnings? */ |
| 30 |
|
|
| 31 |
|
int objlim = 5; /* # of objects before split */ |
| 56 |
|
|
| 57 |
|
progname = argv[0] = fixargv0(argv[0]); |
| 58 |
|
|
| 61 |
– |
if ((libpath = getenv(ULIBVAR)) == NULL) |
| 62 |
– |
libpath = DEFPATH; |
| 63 |
– |
|
| 59 |
|
initotypes(); |
| 60 |
|
|
| 61 |
|
for (i = 1; i < argc && argv[i][0] == '-'; i++) |
| 99 |
|
nfiles = readoct(infile, IO_ALL, &thescene, ofname); |
| 100 |
|
if (nfiles == 0) |
| 101 |
|
inpfrozen++; |
| 102 |
< |
} |
| 103 |
< |
|
| 104 |
< |
printargs(argc, argv, stdout); /* info. header */ |
| 102 |
> |
} else |
| 103 |
> |
newheader("RADIANCE", stdout); /* new binary file header */ |
| 104 |
> |
printargs(argc, argv, stdout); |
| 105 |
|
fputformat(OCTFMT, stdout); |
| 106 |
|
printf("\n"); |
| 107 |
|
|