aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mansearch.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-17 20:05:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-17 20:05:08 +0000
commit39d04e66c984c4a1e5987b9abef08943d2ba3ca0 (patch)
tree6a3b64cad68bd4d3e18c10ff4f2b7fa2bc7920ed /mansearch.h
parentd09513711fce0a2fb1fe762462c748af3eca96e3 (diff)
downloadmandoc-39d04e66c984c4a1e5987b9abef08943d2ba3ca0.tar.gz
mandoc-39d04e66c984c4a1e5987b9abef08943d2ba3ca0.tar.zst
mandoc-39d04e66c984c4a1e5987b9abef08943d2ba3ca0.zip
Restore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order.
They got broken in the SQLite removal. As opposed to the rest of -kO, they are no longer very useful, but they are certainly not supposed to fail assertions. Issue reported by Gonzalo Tornaria <tornaria at cmat dot edu dot uy>.
Diffstat (limited to 'mansearch.h')
-rw-r--r--mansearch.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mansearch.h b/mansearch.h
index 892c6e1e..cc4f364f 100644
--- a/mansearch.h
+++ b/mansearch.h
@@ -1,7 +1,7 @@
-/* $Id: mansearch.h,v 1.27 2016/08/01 12:31:00 schwarze Exp $ */
+/* $Id: mansearch.h,v 1.28 2017/04/17 20:05:08 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2013, 2014, 2016 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2013, 2014, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -21,6 +21,9 @@
#define MANDOCDB_VERSION 1
#define MACRO_MAX 36
+#define KEY_arch 0
+#define KEY_sec 1
+#define KEY_Nm 38
#define KEY_Nd 39
#define KEY_MAX 40