From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pAOCsJOO017607 for ; Thu, 24 Nov 2011 07:54:19 -0500 (EST) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id pAOCsJDM030379; Thu, 24 Nov 2011 07:54:19 -0500 (EST) Date: Thu, 24 Nov 2011 07:54:19 -0500 (EST) Message-Id: <201111241254.pAOCsJDM030379@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: I say that mandocdb(8) uses "man(1)'s method", but it doesn't. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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? Modified Files: -------------- mdocml: mandocdb.c Revision Data ------------- Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.10 retrieving revision 1.11 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.10 -r1.11 --- mandocdb.c +++ 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'; -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv