diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-23 05:07:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-03-23 05:07:35 +0000 |
commit | c128d844d740c22521939619712c60f0cb06f19f (patch) | |
tree | 1bc12385757a2a0f56242c13538a209c2abb0e6e /apropos_db.c | |
parent | 0a9bc462743e68f6d4d3a37d1540232cd7832f8c (diff) | |
download | mandoc-c128d844d740c22521939619712c60f0cb06f19f.tar.gz |
Merge some/most of schwarze@'s OpenBSD changes into mandoc: many more
warnings about grokking manpages in their respective directories.
DO NOT, however, import his temporary-file routines (I don't plan on
staying with a recno/btree split) nor the realpath() routines, which
destroy relative path-ness.
Also pull in the lorder bits.
There are some changes I started to make then stopped relating to
reporting errors in the correct directories. I'll clean this up in
subsequent commits.
This puts us more or less on parity with OpenBSD.
Diffstat (limited to 'apropos_db.c')
-rw-r--r-- | apropos_db.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apropos_db.c b/apropos_db.c index 345b82b4..68eb5bba 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -153,6 +153,7 @@ btree_open(void) DB *db; memset(&info, 0, sizeof(BTREEINFO)); + info.lorder = 4321; info.flags = R_DUP; db = dbopen(MANDOC_DB, O_RDONLY, 0, DB_BTREE, &info); |