Lines Matching refs:ldir
677 char *ldir; in do_makewhatis() local
680 ldir = addlocale(p->path); in do_makewhatis()
681 if (*localedir != '\0' && getdirs(ldir, NULL, 0) > 0) in do_makewhatis()
682 mwpath(ldir); in do_makewhatis()
683 free(ldir); in do_makewhatis()
743 char *ldir; in whatapro() local
747 ldir = addlocale(b->path); in whatapro()
748 if (getdirs(ldir, NULL, 0) != 0) { in whatapro()
750 "%s/%s", ldir, WHATIS); in whatapro()
753 free(ldir); in whatapro()
989 char *ldir; in manual() local
1004 ldir = addlocale(p->path); in manual()
1005 ndirs = getdirs(ldir, NULL, 0); in manual()
1007 ldirs[0] = ldir; in manual()
1011 ldir); in manual()
1012 mandir(local->secv, ldir, name, 1); in manual()
1015 free(ldir); in manual()