summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 12:54:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-24 12:54:19 +0000
commit30a2fcbdee4f248acbd484a9e0944f9717ec226c (patch)
tree4e2d2b71663a1bccab0a621b19f8dc4f3baed8d8
parent5d025ccf57ef8fd8504ffd95ca87561d947fee2d (diff)
downloadmandoc-30a2fcbdee4f248acbd484a9e0944f9717ec226c.tar.gz
I say that mandocdb(8) uses "man(1)'s method", but it doesn't. It just uses
the configuration file and ignores MANPATH. Everybody else uses MANPATH (being apropos and man), so why shouldn't we?
-rw-r--r--mandocdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 8dde6c0e..d442481b 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -386,7 +386,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++)
dirs.paths[i] = mandoc_strdup(argv[i]);
} else
- manpath_parseconf(&dirs);
+ manpath_parse(&dirs, NULL, NULL);
for (i = 0; i < dirs.sz; i++) {
ibuf[0] = fbuf[0] = '\0';