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 | 7c68dcb5cb39fac017a3d6fa212c698be1c6aae9 (patch) | |
tree | e6a6de52e751aa504c491b6a13c5ca4f30570d03 /apropos_db.c | |
parent | 92b82a1384a9e9840e25d2364a36c9fa50384e34 (diff) | |
download | mandoc-7c68dcb5cb39fac017a3d6fa212c698be1c6aae9.tar.gz mandoc-7c68dcb5cb39fac017a3d6fa212c698be1c6aae9.tar.zst mandoc-7c68dcb5cb39fac017a3d6fa212c698be1c6aae9.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apropos_db.c b/apropos_db.c index 856bde34..9508c0b1 100644 --- a/apropos_db.c +++ b/apropos_db.c @@ -1,4 +1,4 @@ -/* $Id: apropos_db.c,v 1.19 2011/12/02 00:21:56 kristaps Exp $ */ +/* $Id: apropos_db.c,v 1.20 2011/12/03 12:09:07 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -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); |