The traditional whatis(1) was case-insensitve and it's still documented
that way, that but apparently got broken with or after the switch.
-/* $Id: mansearch.c,v 1.31 2014/08/09 14:24:49 schwarze Exp $ */
+/* $Id: mansearch.c,v 1.32 2014/08/21 20:27:03 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
if (MANSEARCH_WHATIS & search->flags) {
e->substr = NULL;
mandoc_asprintf(&val, "[[:<:]]%s[[:>:]]", buf);
+ cs = 0;
}
if (NULL == e->substr) {