9 |
|
* 11/6/86 Finally added error checking! |
10 |
|
*/ |
11 |
|
|
12 |
– |
#include "standard.h" |
13 |
– |
|
14 |
– |
#include "paths.h" |
15 |
– |
|
12 |
|
#include <ctype.h> |
13 |
|
|
14 |
+ |
#include "standard.h" |
15 |
+ |
#include "platform.h" |
16 |
+ |
#include "paths.h" |
17 |
|
#include "object.h" |
19 |
– |
|
18 |
|
#include "otypes.h" |
19 |
|
|
20 |
|
int xac; /* global xform argument count */ |
928 |
|
} |
929 |
|
strcpy(curfn, iname); /* remember input name */ |
930 |
|
/* get full path for file */ |
931 |
< |
if ((fpath = getpath(iname, getlibpath(), R_OK)) == NULL) { |
931 |
> |
if ((fpath = getpath(iname, getrlibpath(), R_OK)) == NULL) { |
932 |
|
fprintf(stderr, "%s: cannot find file \"%s\"\n", |
933 |
|
progname, iname); |
934 |
|
exit(1); |