diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-03 18:09:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-03 18:09:14 +0000 |
commit | c770387f803c840900502ca28d15d35e99650baf (patch) | |
tree | 08bbe0df94aca90459dd30338e163a1ce94dbb3a /main.c | |
parent | 23314f00a3de516604e28d2a34bde0428f6067fb (diff) | |
download | mandoc-c770387f803c840900502ca28d15d35e99650baf.tar.gz |
If a manual page is installed gzip(1)ed, let makewhatis(8) take
note in mandoc.db(5), such that man(1) -w and apropos(1) -w can
report the correct filename.
This is a prerequisite for letting apropos -a and man support
gzip'ed manuals in the future, which doesn't work yet.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -370,7 +370,7 @@ main(int argc, char *argv[]) while (argc) { #if HAVE_SQLITE3 if (resp != NULL) { - if (resp->form) { + if (resp->form & FORM_SRC) { /* For .so only; ignore failure. */ chdir(paths.paths[resp->ipath]); parse(&curp, -1, resp->file, &rc); |