diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-20 15:43:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-20 15:43:14 +0000 |
commit | 8ff9b6d7b2b12cfb863578f68ec6572aa3f3d698 (patch) | |
tree | ef050ad362793a35f0d3a5b5c0f098cc1388d2d6 /apropos_db.h | |
parent | 739d6983d048fe131ded5ec372a95b930b72640d (diff) | |
download | mandoc-8ff9b6d7b2b12cfb863578f68ec6572aa3f3d698.tar.gz |
Integrate a moderately-patched version of schwarze@'s support for multiple
directories containing mandocdb(8) databases. Some changes follow:
(1) don't support -M yet;
(2) fall back to cwd if no prior manpath has been specified;
(3) resolve manpages using realpath() to prevent consecutive chdir()'s
over relative paths;
(4) note where further error-reporting is required;
(5) fix leaking memory on exit in several cases.
Diffstat (limited to 'apropos_db.h')
-rw-r--r-- | apropos_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apropos_db.h b/apropos_db.h index 95ac1567..62a392f3 100644 --- a/apropos_db.h +++ b/apropos_db.h @@ -35,7 +35,7 @@ __BEGIN_DECLS struct expr; -int apropos_search(const struct opts *, +int apropos_search(int, char **, const struct opts *, const struct expr *, size_t, void *, void (*)(struct res *, size_t, void *)); struct expr *exprcomp(int, char *[], size_t *); |