From 948cfc767fc01b4caf82976949dceb3581462b3e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 22 Nov 2018 12:01:46 +0000 Subject: 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 , see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227408. Smaller patch provided by Yuri Pankov , but i'm also retiring the now unused "bits" member from struct manpage. Simplification is good. --- mansearch.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mansearch.h') diff --git a/mansearch.h b/mansearch.h index cc4f364f..355873f8 100644 --- a/mansearch.h +++ b/mansearch.h @@ -1,4 +1,4 @@ -/* $Id: mansearch.h,v 1.28 2017/04/17 20:05:08 schwarze Exp $ */ +/* $Id: mansearch.h,v 1.29 2018/11/22 12:01:46 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2016, 2017 Ingo Schwarze @@ -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; }; -- cgit v1.2.3