diff options
author | 2015-02-27 16:21:42 +0000 | |
---|---|---|
committer | 2015-02-27 16:21:42 +0000 | |
commit | a539fd7b6bf38a6bf53724d8673a3760b2dd5dd6 (patch) | |
tree | 46bf5f4073543d9aba81a4455e560d0b193d4529 /lib/libc | |
parent | When man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable, (diff) | |
download | wireguard-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