# | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
---|---|---|
9 | ||
10 | #include <math.h> | |
11 | #include <ctype.h> | |
12 | < | |
12 | > | #include "paths.h" |
13 | #include "rtio.h" | |
14 | #include "platform.h" | |
15 | #include "tiffio.h" | |
# | Line 108 | Line 108 | short ortab[8] = { /* orientation conversion table */ | |
108 | extern char TMSTR[]; /* "CAPDATE=" from header.c */ | |
109 | char OWNSTR[] = "OWNER="; | |
110 | ||
111 | – | char *progname; |
111 | ||
113 | – | |
112 | int | |
113 | main(int argc, char *argv[]) | |
114 | { | |
115 | int reverse = 0; | |
116 | int i; | |
117 | < | |
118 | < | progname = argv[0]; |
117 | > | /* set global progname */ |
118 | > | fixargv0(argv[0]); |
119 | ||
120 | for (i = 1; i < argc; i++) | |
121 | if (argv[i][0] == '-') |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |