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 /mandocdb.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 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |