[BACK]Return to pattern.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/pattern.c between version 1.3 and 1.4

version 1.3, 2014/04/25 13:38:21 version 1.4, 2014/05/23 19:49:15
Line 306 
Line 306 
         {          {
                 regmatch_t rm;                  regmatch_t rm;
                 int flags = (notbol) ? REG_NOTBOL : 0;                  int flags = (notbol) ? REG_NOTBOL : 0;
   #ifdef REG_STARTEND
                   flags |= REG_STARTEND;
                   rm.rm_so = 0;
                   rm.rm_eo = line_len;
   #endif
                 matched = !regexec(spattern, line, 1, &rm, flags);                  matched = !regexec(spattern, line, 1, &rm, flags);
                 if (matched)                  if (matched)
                 {                  {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4