diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-04-30 18:51:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-04-30 18:51:57 +0000 |
commit | d756850b9bce47856068b05130c6277125b6f0a1 (patch) | |
tree | 7df759c59f9fe2bb9c502bad08c2b331ddb0d685 /mansearch.h | |
parent | ee0b68f80757c3f0a4e09e9fdbde02dcd76fa6e8 (diff) | |
download | mandoc-d756850b9bce47856068b05130c6277125b6f0a1.tar.gz |
In man(1) mode, i.e. when asking for a single manual page by name,
prefer file name matches over .Dt/.TH matches over first NAME matches
over later NAME matches, but do not change the ordering for apropos(1)
nor for man -a.
This reverts main.c rev. 1.310 and mansearch.h rev. 1.29
and includes a partial revert of mansearch.c rev. 1.79.
Regression reported by Lorenzo Beretta <loreb at github>
as part of https://github.com/void-linux/void-packages/issues/9868 .
Diffstat (limited to 'mansearch.h')
-rw-r--r-- | mansearch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mansearch.h b/mansearch.h index 81d9d134..330d1c07 100644 --- a/mansearch.h +++ b/mansearch.h @@ -92,6 +92,7 @@ struct manpage { char *file; /* to be prefixed by manpath */ char *names; /* a list of names with sections */ char *output; /* user-defined additional output */ + uint64_t bits; /* name type mask */ size_t ipath; /* number of the manpath */ int sec; /* section number, 10 means invalid */ enum form form; |