source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Bugfix: make whatis(1) case-insensitive again.
@ 2014-08-21 20:29 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-08-21 20:29 UTC (permalink / raw)
  To: source

Log Message:
-----------
Bugfix: make whatis(1) case-insensitive again.
The traditional whatis(1) was case-insensitve and it's still documented
that way, but that apparently got broken with or after the switch.

Modified Files:
--------------
    mdocml:
        mansearch.c

Revision Data
-------------
Index: mansearch.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mansearch.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -Lmansearch.c -Lmansearch.c -u -p -r1.45 -r1.46
--- mansearch.c
+++ mansearch.c
@@ -768,6 +768,7 @@ exprterm(const struct mansearch *search,
 		e->bits = TYPE_Nm;
 		e->substr = NULL;
 		mandoc_asprintf(&val, "[[:<:]]%s[[:>:]]", buf);
+		cs = 0;
 	} else if ((val = strpbrk(buf, "=~")) == NULL) {
 		e->bits = TYPE_Nm | TYPE_Nd;
 		e->substr = buf;
--
 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:[~2014-08-21 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21 20:29 mdocml: Bugfix: make whatis(1) case-insensitive again schwarze

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).