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

Diff for /src/usr.bin/grep/util.c between version 1.18 and 1.19

version 1.18, 2003/10/28 13:23:59 version 1.19, 2003/12/06 20:14:40
Line 292 
Line 292 
                 } else if (fg->pattern[i] == '.') {                  } else if (fg->pattern[i] == '.') {
                         hasDot = i;                          hasDot = i;
                         if (i < fg->patternLen / 2) {                          if (i < fg->patternLen / 2) {
                                 if (firstHalfDot < -1)                                  if (firstHalfDot < 0)
                                         /* Closest dot to the beginning */                                          /* Closest dot to the beginning */
                                         firstHalfDot = i;                                          firstHalfDot = i;
                         } else {                          } else {

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19