]> git.cameronkatri.com Git - mandoc.git/commit
Make sure that the configuration file is always read, even when
authorIngo Schwarze <schwarze@openbsd.org>
Fri, 5 Nov 2021 18:03:08 +0000 (18:03 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Fri, 5 Nov 2021 18:03:08 +0000 (18:03 +0000)
commite04f420246bfc2933aca90b90c4509a05a695ad5
tree72db950d2624bb6f8f858bb190e34f697e95d7c7
parentf37336740f8ee89e15fef3506c0e1d94c11eb6b8
Make sure that the configuration file is always read, even when
running with the -M option or with a MANPATH environment variable
that has neither a leading or trailing ":" nor any "::".  If -M or
MANPATH override the configuration file rather than adding to it,
just ignore any "manpath" directives while processing the configuration
file.

This fixes a bug reported by Jan Stary <hans at stare dot cz>
on misc@.
manpath.c