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

Diff for /src/usr.bin/sed/compile.c between version 1.28 and 1.29

version 1.28, 2008/10/16 16:34:32 version 1.29, 2009/08/07 03:30:56
Line 439 
Line 439 
                 return (p);                  return (p);
         }          }
         *repp = xmalloc(sizeof(regex_t));          *repp = xmalloc(sizeof(regex_t));
         if (p && (eval = regcomp(*repp, re, 0)) != 0)          if (p && (eval = regcomp(*repp, re, Eflag ? REG_EXTENDED : 0)) != 0)
                 err(COMPILE, "RE error: %s", strregerror(eval, *repp));                  err(COMPILE, "RE error: %s", strregerror(eval, *repp));
         if (maxnsub < (*repp)->re_nsub)          if (maxnsub < (*repp)->re_nsub)
                 maxnsub = (*repp)->re_nsub;                  maxnsub = (*repp)->re_nsub;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29