diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-27 16:22:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-27 16:22:09 +0000 |
commit | e14bca4c9bbeb7cad3aa999d589e1fc15542b414 (patch) | |
tree | 93f7cdacf724812099a699308fc4601d28f9260a /libroff.h | |
parent | 2c9a9ce612c2c9524d33f9cc6c55301eef91b9db (diff) | |
download | mandoc-e14bca4c9bbeb7cad3aa999d589e1fc15542b414.tar.gz mandoc-e14bca4c9bbeb7cad3aa999d589e1fc15542b414.tar.zst mandoc-e14bca4c9bbeb7cad3aa999d589e1fc15542b414.zip |
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.
Diffstat (limited to 'libroff.h')
0 files changed, 0 insertions, 0 deletions