diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-24 12:54:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-24 12:54:19 +0000 |
commit | 30a2fcbdee4f248acbd484a9e0944f9717ec226c (patch) | |
tree | 4e2d2b71663a1bccab0a621b19f8dc4f3baed8d8 /mandocdb.c | |
parent | 5d025ccf57ef8fd8504ffd95ca87561d947fee2d (diff) | |
download | mandoc-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?
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |