From 5baa64fca628f5c69b2d31cd0d84993824be71c4 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 24 Nov 2011 12:54:19 +0000 Subject: 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? --- mandocdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mandocdb.c') diff --git a/mandocdb.c b/mandocdb.c index a1e1ba36..e3b5abb0 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -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 * @@ -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'; -- cgit v1.2.3