CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/04/30 12:48:26
Modified files: usr.bin/mandoc : main.c mansearch.c mansearch.h Log message: 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.213 and mansearch.h rev. 1.23 and includes a partial revert of mansearch.c rev. 1.62. Regression reported by Lorenzo Beretta <loreb at github> as part of https://github.com/void-linux/void-packages/issues/9868 .