ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/fropen.c
(Generate patch)

Comparing ray/src/common/fropen.c (file contents):
Revision 2.9 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.10 by greg, Tue May 13 17:58:32 2003 UTC

# 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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines