# | Line 18 | Line 18 | FILE * | |
---|---|---|
18 | frlibopen(fname) /* find file and open for reading */ | |
19 | register char *fname; | |
20 | { | |
21 | < | extern char *strcpy(), *getlibpath(); |
21 | > | extern char *strcpy(), *getrlibpath(); |
22 | FILE *fp; | |
23 | char pname[MAXPATH]; | |
24 | register char *sp, *cp; | |
# | Line 29 | Line 29 | register char *fname; | |
29 | if (ISDIRSEP(fname[0]) || fname[0] == '.') /* absolute path */ | |
30 | return(fopen(fname, "r")); | |
31 | /* check search path */ | |
32 | < | sp = getlibpath(); |
32 | > | sp = getrlibpath(); |
33 | do { | |
34 | cp = pname; | |
35 | while (*sp && (*cp = *sp++) != PATHSEP) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |