summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-02-27 16:21:42 +0000
committerschwarze <schwarze@openbsd.org>2015-02-27 16:21:42 +0000
commita539fd7b6bf38a6bf53724d8673a3760b2dd5dd6 (patch)
tree46bf5f4073543d9aba81a4455e560d0b193d4529 /lib/libc
parentWhen man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable, (diff)
downloadwireguard-openbsd-a539fd7b6bf38a6bf53724d8673a3760b2dd5dd6.tar.xz
wireguard-openbsd-a539fd7b6bf38a6bf53724d8673a3760b2dd5dd6.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 'lib/libc')
0 files changed, 0 insertions, 0 deletions