source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Make sure the btree(3) goop is also BE.
@ 2011-12-03 12:09 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-12-03 12:09 UTC (permalink / raw)
  To: source

Log Message:
-----------
Make sure the btree(3) goop is also BE.  This covers both the DB metadata
and prior commits handle the contained binary fields.

Modified Files:
--------------
    mdocml:
        apropos_db.c
        mandocdb.c

Revision Data
-------------
Index: apropos_db.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/apropos_db.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -Lapropos_db.c -Lapropos_db.c -u -p -r1.19 -r1.20
--- apropos_db.c
+++ 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);
Index: mandocdb.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.21 -r1.22
--- mandocdb.c
+++ 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);
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-03 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-03 12:09 mdocml: Make sure the btree(3) goop is also BE kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).