From 994580065e7e64895b2192324b068e553d90f7ba Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 4 Apr 2014 15:55:19 +0000 Subject: Remember which names are in the NAME section. This helps to find missing MLINKS. Database build times do not change and database growth is minimal (1.2% with -Q, 0.7% without -Q in /usr/share/man), so making this optional would be pointless. --- mansearch_const.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'mansearch_const.c') diff --git a/mansearch_const.c b/mansearch_const.c index b4d47200..12d10b2a 100644 --- a/mansearch_const.c +++ b/mansearch_const.c @@ -1,4 +1,4 @@ -/* $Id: mansearch_const.c,v 1.1 2014/01/19 00:09:38 schwarze Exp $ */ +/* $Id: mansearch_const.c,v 1.2 2014/04/04 15:55:19 schwarze Exp $ */ /* * Copyright (c) 2014 Ingo Schwarze * @@ -20,12 +20,13 @@ #include "manpath.h" #include "mansearch.h" -const int mansearch_keymax = 40; +const int mansearch_keymax = 41; -const char *const mansearch_keynames[40] = { - "Nm", "Nd", "arch", "sec", "Xr", "Ar", "Fa", "Fl", - "Dv", "Fn", "Ic", "Pa", "Cm", "Li", "Em", "Cd", - "Va", "Ft", "Tn", "Er", "Ev", "Sy", "Sh", "In", - "Ss", "Ox", "An", "Mt", "St", "Bx", "At", "Nx", - "Fx", "Lk", "Ms", "Bsx", "Dx", "Rs", "Vt", "Lb" +const char *const mansearch_keynames[41] = { + "NAME", "Nm", "Nd", "arch", "sec", "Xr", "Ar", "Fa", + "Fl", "Dv", "Fn", "Ic", "Pa", "Cm", "Li", "Em", + "Cd", "Va", "Ft", "Tn", "Er", "Ev", "Sy", "Sh", + "In", "Ss", "Ox", "An", "Mt", "St", "Bx", "At", + "Nx", "Fx", "Lk", "Ms", "Bsx", "Dx", "Rs", "Vt", + "Lb" }; -- cgit v1.2.3-56-ge451