[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.19 and 1.20

version 1.19, 2004/07/09 19:39:40 version 1.20, 2004/07/10 11:41:26
Line 503 
Line 503 
                 size += sp - op;                  size += sp - op;
                 if (asize - size < _POSIX2_LINE_MAX + 1) {                  if (asize - size < _POSIX2_LINE_MAX + 1) {
                         asize *= 2;                          asize *= 2;
                         text = xmalloc(asize);                          text = xrealloc(text, asize);
                 }                  }
         } while (cu_fgets(p = lbuf, sizeof(lbuf)));          } while (cu_fgets(p = lbuf, sizeof(lbuf)));
         err(COMPILE, "unterminated substitute in regular expression");          err(COMPILE, "unterminated substitute in regular expression");

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