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 | 5baa64fca628f5c69b2d31cd0d84993824be71c4 (patch) | |
tree | 93b7e8699f65ef02d92a319f750a29091034235f | |
parent | e5e22f9be096d23876973a5d01775222dac5908a (diff) | |
download | mandoc-5baa64fca628f5c69b2d31cd0d84993824be71c4.tar.gz mandoc-5baa64fca628f5c69b2d31cd0d84993824be71c4.tar.zst mandoc-5baa64fca628f5c69b2d31cd0d84993824be71c4.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.10 2011/11/23 09:52:20 kristaps Exp $ */ +/* $Id: mandocdb.c,v 1.11 2011/11/24 12:54:19 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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'; |