| 10 |
|
* 9/26/85 |
| 11 |
|
*/ |
| 12 |
|
|
| 13 |
< |
#include <stdio.h> |
| 13 |
> |
#include "standard.h" |
| 14 |
|
|
| 15 |
– |
#ifdef MSDOS |
| 16 |
– |
#include <fcntl.h> |
| 17 |
– |
#endif |
| 18 |
– |
|
| 19 |
– |
#include <math.h> |
| 20 |
– |
|
| 15 |
|
#include <signal.h> |
| 16 |
|
|
| 17 |
|
#include "color.h" |
| 20 |
|
|
| 21 |
|
#include "paths.h" |
| 22 |
|
|
| 29 |
– |
extern char *malloc(); |
| 23 |
|
extern float *matchlamp(); |
| 24 |
|
|
| 25 |
|
#define FEQ(a,b) ((a) >= .98*(b) && (a) <= 1.02*(b)) |
| 97 |
|
signal(SIGXFSZ, quit); |
| 98 |
|
#endif |
| 99 |
|
|
| 100 |
< |
progname = argv[0]; |
| 100 |
> |
progname = argv[0] = fixargv0(argv[0]); |
| 101 |
|
|
| 102 |
|
for (i = 1; i < argc; i++) |
| 103 |
|
if (argv[i][0] == '-') |