[BACK]Return to mansearch.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mansearch.c between version 1.67 and 1.69

version 1.67, 2016/07/20 00:23:14 version 1.69, 2017/03/03 13:11:21
Line 21 
Line 21 
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
   #if HAVE_ERR
 #include <err.h>  #include <err.h>
   #endif
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <glob.h>  #include <glob.h>
Line 658  exprterm(const struct mansearch *search, int argc, cha
Line 660  exprterm(const struct mansearch *search, int argc, cha
          * If needed, request regular expression handling.           * If needed, request regular expression handling.
          */           */
   
           cs = 1;
         if (search->argmode == ARG_WORD) {          if (search->argmode == ARG_WORD) {
                 e->bits = TYPE_Nm;                  e->bits = TYPE_Nm;
                 e->match.type = DBM_REGEX;                  e->match.type = DBM_REGEX;

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.69

CVSweb