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

Diff for /src/usr.bin/mg/re_search.c between version 1.9 and 1.10

version 1.9, 2001/05/24 03:05:25 version 1.10, 2002/02/13 03:03:49
Line 430 
Line 430 
   
         if (s == TRUE) {          if (s == TRUE) {
                 /* New pattern given */                  /* New pattern given */
                 (void)strcpy(re_pat, tpat);                  (void)strlcpy(re_pat, tpat, sizeof re_pat);
                 if (casefoldsearch)                  if (casefoldsearch)
                         flags = REG_EXTENDED | REG_ICASE;                          flags = REG_EXTENDED | REG_ICASE;
                 else                  else

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10