Lines Matching refs:dname
90 static char *dname[NRECURS], variable
394 basepath(temp, dname[nfp], NULL); in findfile()
437 (void) snprintf(host, sizeof (host), "%s/%s", dname[nfp], basename); in findfile()
465 "%s/%s", dname[nfp], pt); in dosearch()
493 "%s/%s", dname[nfp], pt); in dorsearch()
606 (void) snprintf(file, sizeof (file), "%s/%s", dname[nfp], temp); in doinclude()
714 dname[nfp] = topdir; in pushenv()
717 dname[nfp] = qstrdup(file); in pushenv()
718 if (pt = strrchr(dname[nfp], '/')) in pushenv()
722 free(dname[nfp]); in pushenv()
723 dname[nfp] = qstrdup(dname[nfp-1]); in pushenv()
728 canonize(dname[nfp]); in pushenv()
730 if (chdir(dname[nfp])) { in pushenv()
732 logerr(gettext(MSG_CHDIR), dname[nfp]); in pushenv()
750 if (dname[nfp]) in popenv()
751 free(dname[nfp]); in popenv()
763 if (chdir(dname[nfp])) { in popenv()
765 logerr(gettext(MSG_CHDIR), dname[nfp]); in popenv()