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

Comparing ray/src/common/instance.c (file contents):
Revision 2.3 by greg, Tue Feb 2 13:24:50 1993 UTC vs.
Revision 2.4 by greg, Thu Apr 14 04:44:47 1994 UTC

# Line 26 | Line 26 | getscene(sname, flags)                 /* load octree sname */
26   char  *sname;
27   int  flags;
28   {
29 <        extern char  *libpath;
29 >        extern char  *getlibpath();
30          char  *pathname;
31          register SCENE  *sc;
32  
# Line 51 | Line 51 | int  flags;
51                  sc->next = slist;
52                  slist = sc;
53          }
54 <        if ((pathname = getpath(sname, libpath, R_OK)) == NULL) {
54 >        if ((pathname = getpath(sname, getlibpath(), R_OK)) == NULL) {
55                  sprintf(errmsg, "cannot find octree file \"%s\"", sname);
56                  error(USER, errmsg);
57          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines