source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: I say that mandocdb(8) uses "man(1)'s method", but it doesn't.
@ 2011-11-24 12:54 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-11-24 12:54 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-24 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 12:54 mdocml: I say that mandocdb(8) uses "man(1)'s method", but it doesn't kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).