Lines Matching refs:temp
135 char temp[PATH_LGTH]; in mkpkgmap() local
186 (void) fscanf(fp, "%4096s", temp); in mkpkgmap()
188 if (strcmp(temp, "include") == 0) in mkpkgmap()
190 else if (strcmp(temp, "rsearch") == 0) in mkpkgmap()
192 else if (strcmp(temp, "search") == 0) in mkpkgmap()
194 else if (strcmp(temp, "default") == 0) { in mkpkgmap()
197 } else if (strchr(temp, '=')) { in mkpkgmap()
198 translate(temp, mybuff); in mkpkgmap()
205 logerr(gettext(MSG_BANG), temp); in mkpkgmap()
367 char temp[PATH_MAX], *basename; in findfile() local
377 (void) strlcpy(temp, (local && local[0] ? local : path), sizeof (temp)); in findfile()
378 mappath(0, temp); in findfile()
379 canonize(temp); in findfile()
382 if (rootlist[0] || (basedir && (*temp != '/'))) { in findfile()
389 return (srchroot(temp, host)); in findfile()
394 basepath(temp, dname[nfp], NULL); in findfile()
400 if (strcmp(temp, "/dev/null") != 0) { in findfile()
401 if (stat(temp, &statbuf) || in findfile()
408 (void) strlcpy(host, temp, sizeof (host)); in findfile()
414 temp + (*temp == '/' ? 1 : 0)); in findfile()
421 pt = strrchr(temp, '/'); in findfile()
423 pt = temp; in findfile()
449 char temp[PATH_MAX], lookpath[PATH_MAX], *pt; in dosearch() local
452 (void) fgets(temp, PATH_MAX, fp); in dosearch()
453 translate(temp, lookpath); in dosearch()
464 (void) snprintf(temp, sizeof (temp), in dosearch()
466 pt = temp; in dosearch()
478 char temp[PATH_MAX], lookpath[PATH_MAX], *pt; in dorsearch() local
481 (void) fgets(temp, PATH_MAX, fp); in dorsearch()
482 translate(temp, lookpath); in dorsearch()
492 (void) snprintf(temp, sizeof (temp), in dorsearch()
494 pt = temp; in dorsearch()
589 char temp[PATH_MAX]; in doinclude() local
591 (void) fgets(temp, PATH_MAX, fp); in doinclude()
598 (void) sscanf(temp, "%1024s", file); in doinclude()
600 translate(file, temp); in doinclude()
601 canonize(temp); in doinclude()
603 if (*temp == NULL) in doinclude()
605 else if (*temp != '/') in doinclude()
606 (void) snprintf(file, sizeof (file), "%s/%s", dname[nfp], temp); in doinclude()
608 (void) strlcpy(file, temp, sizeof (file)); in doinclude()