Lines Matching defs:rpath
288 char *rpath;
297 if ((rpath = malloc(strlen(physpath) + 1)) == NULL)
300 (void) strcpy(rpath, physpath);
304 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) {
305 (void) memmove(rpath, rpath + len,
306 strlen(rpath + len) + 1);
310 if ((cp = GET_DYN(rpath)) != NULL) {
315 if ((cp = strrchr(rpath, ':')) == NULL) {
316 free(rpath);
323 DBG(1, ("rpath=%s,cp=%s\n", rpath, cp));
324 if ((node = hp_init(rpath, cp, 0)) == NULL) {
329 free(rpath);
332 free(rpath);
336 free(rpath);