aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-27 16:22:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-27 16:22:09 +0000
commite14bca4c9bbeb7cad3aa999d589e1fc15542b414 (patch)
tree93f7cdacf724812099a699308fc4601d28f9260a /mdoc_html.c
parent2c9a9ce612c2c9524d33f9cc6c55301eef91b9db (diff)
downloadmandoc-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 'mdoc_html.c')
0 files changed, 0 insertions, 0 deletions