# | Line 4 | Line 4 | static const char RCSid[] = "$Id$"; | |
---|---|---|
4 | /* | |
5 | * Find and open a Radiance library file. | |
6 | * | |
7 | < | * External symbols declared in standard.h |
7 | > | * External symbols declared in rtio.h |
8 | */ | |
9 | ||
10 | #include "copyright.h" | |
11 | ||
12 | #include <stdio.h> | |
13 | ||
14 | + | #include "rtio.h" |
15 | #include "paths.h" | |
16 | ||
17 | ||
# | Line 18 | Line 19 | FILE * | |
19 | frlibopen(fname) /* find file and open for reading */ | |
20 | register char *fname; | |
21 | { | |
21 | – | extern char *strcpy(), *getrlibpath(); |
22 | FILE *fp; | |
23 | < | char pname[MAXPATH]; |
23 | > | char pname[PATH_MAX]; |
24 | register char *sp, *cp; | |
25 | ||
26 | if (fname == NULL) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |