Lines Matching refs:manpath
98 char file[PATH_MAX]; /* filename rel. to manpath */
478 conf.manpath.paths = mandoc_reallocarray(NULL,
480 conf.manpath.sz = (size_t)argc;
482 conf.manpath.paths[i] = mandoc_strdup(argv[i]);
486 if (conf.manpath.sz == 0) {
488 say("", "Empty manpath");
497 for (j = 0; j < conf.manpath.sz; j++) {
498 sz = strlen(conf.manpath.paths[j]);
499 if (sz && conf.manpath.paths[j][sz - 1] == '/')
500 conf.manpath.paths[j][--sz] = '\0';
511 if (set_basedir(conf.manpath.paths[j], argc > 0) == 0)
521 if (j + 1 < conf.manpath.sz) {