Version-Release number of selected component (if applicable): man-db-2.5.7-7.fc14.x86_64 Steps to Reproduce: 1. $ ls /usr/share/man/man3*/open.* > /usr/share/man/man3/open.3pm.gz /usr/share/man/man3p/open.3p.gz 2. $ man 3p open Actual results: open(3pm) opens Expected results: open(3p) opens
Thanks for your report. I've fixed this upstream for man-db 2.6.0: Tue Mar 15 10:52:58 GMT 2011 Colin Watson <cjwatson> * src/man.c (compare_candidates): If the user asked for an explicit section, sort exact matches first (Fedora bug #684977). * src/tests/man-3: New file. * src/tests/Makefile.am (ALL_TESTS): Add man-3. * NEWS: Document this.
Thanks, backported to man-db-2.5.9-5.fc16.