diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-03 12:09:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-03 12:09:07 +0000 |
commit | 883124f12caeda9265541a28686aca054e488ef9 (patch) | |
tree | 256655d39fc4b5d71e2a2d0e30ded7761d04bc97 | |
parent | b44b43f687b8f98c50f0f22a5feae1bc72693b07 (diff) | |
download | mandoc-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.
-rw-r--r-- | apropos_db.c | 1 | ||||
-rw-r--r-- | mandocdb.c | 1 |
2 files changed, 2 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); @@ -333,6 +333,7 @@ main(int argc, char *argv[]) argv += optind; memset(&info, 0, sizeof(BTREEINFO)); + info.lorder = 4321; info.flags = R_DUP; mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL); |