# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |