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

Comparing ray/src/common/rglinst.c (file contents):
Revision 3.7 by greg, Wed Apr 23 02:28:06 2003 UTC vs.
Revision 3.8 by greg, Tue May 13 17:58:32 2003 UTC

# Line 123 | Line 123 | static OCTINST *
123   getoct(name)                            /* get/assign octree list id */
124   char    *name;
125   {
126        extern char     *getpath(), *getlibpath();
126          char    *path;
127          register LUENT  *lp;
128          register OCTINST        *op;
# Line 137 | Line 136 | char   *name;
136                  strcpy(lp->key, name);
137          }
138          if ((op = (OCTINST *)lp->data) == NULL) {
139 <                path = getpath(name, getlibpath(), R_OK);
139 >                path = getpath(name, getrlibpath(), R_OK);
140                  if (path == NULL) {
141                          sprintf(errmsg, "cannot find octree \"%s\"", name);
142                          error(USER, errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines