From 883124f12caeda9265541a28686aca054e488ef9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 3 Dec 2011 12:09:07 +0000 Subject: Make sure the btree(3) goop is also BE. This covers both the DB metadata and prior commits handle the contained binary fields. --- apropos_db.c | 1 + mandocdb.c | 1 + 2 files changed, 2 insertions(+) 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); diff --git a/mandocdb.c b/mandocdb.c index 2c03da2a..08884302 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -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); -- cgit