Lines Matching refs:temp
52 * IMPORTANT NOTE: PLEASE SEE THE DEFINITION OF temp[] BELOW BEFORE
131 * NOTE: THE SIZE OF temp IS HARD CODED INTO CALLS TO fscanf.
132 * YOU *MUST* MAKE SURE TO CHANGE THOSE CALLS IF THE SIZE OF temp
135 char temp[PATH_LGTH];
182 * IMPORTANT NOTE: THE SIZE OF temp IS HARD CODED INTO
186 (void) fscanf(fp, "%4096s", temp);
188 if (strcmp(temp, "include") == 0)
190 else if (strcmp(temp, "rsearch") == 0)
192 else if (strcmp(temp, "search") == 0)
194 else if (strcmp(temp, "default") == 0) {
197 } else if (strchr(temp, '=')) {
198 translate(temp, mybuff);
205 logerr(gettext(MSG_BANG), temp);
367 char temp[PATH_MAX], *basename;
377 (void) strlcpy(temp, (local && local[0] ? local : path), sizeof (temp));
378 mappath(0, temp);
379 canonize(temp);
382 if (rootlist[0] || (basedir && (*temp != '/'))) {
389 return (srchroot(temp, host));
394 basepath(temp, dname[nfp], NULL);
400 if (strcmp(temp, "/dev/null") != 0) {
401 if (stat(temp, &statbuf) ||
408 (void) strlcpy(host, temp, sizeof (host));
414 temp + (*temp == '/' ? 1 : 0));
421 pt = strrchr(temp, '/');
423 pt = temp;
449 char temp[PATH_MAX], lookpath[PATH_MAX], *pt;
452 (void) fgets(temp, PATH_MAX, fp);
453 translate(temp, lookpath);
464 (void) snprintf(temp, sizeof (temp),
466 pt = temp;
478 char temp[PATH_MAX], lookpath[PATH_MAX], *pt;
481 (void) fgets(temp, PATH_MAX, fp);
482 translate(temp, lookpath);
492 (void) snprintf(temp, sizeof (temp),
494 pt = temp;
589 char temp[PATH_MAX];
591 (void) fgets(temp, PATH_MAX, fp);
594 * IMPORTANT NOTE: THE SIZE OF temp IS HARD CODED INTO THE
598 (void) sscanf(temp, "%1024s", file);
600 translate(file, temp);
601 canonize(temp);
603 if (*temp == NULL)
605 else if (*temp != '/')
606 (void) snprintf(file, sizeof (file), "%s/%s", dname[nfp], temp);
608 (void) strlcpy(file, temp, sizeof (file));