diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-11-22 12:01:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-11-22 12:01:46 +0000 |
commit | 1ac47583c44066590d7952c4e31d4b736ae27fca (patch) | |
tree | 23faf4a1830eca86e99dde5277bf6777312bb705 /mansearch.h | |
parent | 22da865402a78266a769c6c501dbecec806fc0d3 (diff) | |
download | mandoc-1ac47583c44066590d7952c4e31d4b736ae27fca.tar.gz |
In apropos(1) output, stop sorting .Nm search results by name
priorities (bits). The obscure feature wasn't documented and merely
confused people - for example Edward Tomasz Napierala <trasz at
FreeBSD>, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227408.
Smaller patch provided by Yuri Pankov <yuripv at FreeBSD>, but i'm
also retiring the now unused "bits" member from struct manpage.
Simplification is good.
Diffstat (limited to 'mansearch.h')
-rw-r--r-- | mansearch.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mansearch.h b/mansearch.h index d18c226d..81d9d134 100644 --- a/mansearch.h +++ b/mansearch.h @@ -93,7 +93,6 @@ struct manpage { char *names; /* a list of names with sections */ char *output; /* user-defined additional output */ size_t ipath; /* number of the manpath */ - uint64_t bits; /* name type mask */ int sec; /* section number, 10 means invalid */ enum form form; }; |