CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/02/27 09:21:42
Modified files:
usr.bin/mandoc : mandocdb.c
Log message:
When makewhatis(8) scans a tree, ignore trailing garbage on filenames.
This is relevant because some ports install files like man1/xsel.1x,
as reported by patrick keshishian <pkeshish at gmail dot com> on misc@.
We can probably improve functionality and simplify the code by ignoring
file name extensions altogether; we already know the section number from
the name of the directory. But so close to lock, i'm keeping the fix
minimal.