summaryrefslogtreecommitdiffstats
path: root/apropos_db.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-03 12:09:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-03 12:09:07 +0000
commit883124f12caeda9265541a28686aca054e488ef9 (patch)
tree256655d39fc4b5d71e2a2d0e30ded7761d04bc97 /apropos_db.c
parentb44b43f687b8f98c50f0f22a5feae1bc72693b07 (diff)
downloadmandoc-883124f12caeda9265541a28686aca054e488ef9.tar.gz
Make sure the btree(3) goop is also BE. This covers both the DB metadata
and prior commits handle the contained binary fields.
Diffstat (limited to 'apropos_db.c')
-rw-r--r--apropos_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apropos_db.c b/apropos_db.c
index 6859a914..677ccaed 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);