aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.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
commit7c68dcb5cb39fac017a3d6fa212c698be1c6aae9 (patch)
treee6a6de52e751aa504c491b6a13c5ca4f30570d03 /mandocdb.c
parent92b82a1384a9e9840e25d2364a36c9fa50384e34 (diff)
downloadmandoc-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 'mandocdb.c')
-rw-r--r--mandocdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index b81867c5..36b08d20 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.c,v 1.21 2011/12/02 00:21:56 kristaps Exp $ */
+/* $Id: mandocdb.c,v 1.22 2011/12/03 12:09:07 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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);