[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.5 and 1.6

version 1.5, 1998/01/18 22:01:53 version 1.6, 1998/01/21 03:51:49
Line 427 
Line 427 
                 return (p);                  return (p);
         }          }
         *repp = xmalloc(sizeof(regex_t));          *repp = xmalloc(sizeof(regex_t));
         if (p && (eval = regcomp(*repp, re, REG_EXTENDED)) != 0)          if (p && (eval = regcomp(*repp, re, 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.5  
changed lines
  Added in v.1.6