aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-ohash.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-27 16:02:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-27 16:02:10 +0000
commit2c9a9ce612c2c9524d33f9cc6c55301eef91b9db (patch)
tree8852d6f938595212390fbe361fed18c4374e0ad9 /test-ohash.c
parent5b766a4fd7552bba656bbf4721035226d4a27e67 (diff)
downloadmandoc-2c9a9ce612c2c9524d33f9cc6c55301eef91b9db.tar.gz
mandoc-2c9a9ce612c2c9524d33f9cc6c55301eef91b9db.tar.zst
mandoc-2c9a9ce612c2c9524d33f9cc6c55301eef91b9db.zip
When man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable,
fall back to glob(man1/foo.*), which is more like what old man(1) did. Do this both for file names from the database and for fs_lookup(). This is relevant because some ports install files like man1/xset.1x. Regression reported by patrick keshishian <pkeshish at gmail dot com>.
Diffstat (limited to 'test-ohash.c')
0 files changed, 0 insertions, 0 deletions