summaryrefslogtreecommitdiffstats
path: root/mandocdb.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
commit1a83fe0518c070d90a4989d137927b786a7732d4 (patch)
tree8ff9bf6798357bdb8a1cf2e05accfe3e574c3e3f /mandocdb.c
parent970476b50a74492edd4cf5202324ba6c1edc6229 (diff)
downloadmandoc-1a83fe0518c070d90a4989d137927b786a7732d4.tar.gz
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 'mandocdb.c')
0 files changed, 0 insertions, 0 deletions