[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.4 and 1.5

version 1.4, 1997/11/14 03:59:25 version 1.5, 1998/01/18 22:01:53
Line 427 
Line 427 
                 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, REG_EXTENDED)) != 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.4  
changed lines
  Added in v.1.5