Return to compile.c CVS log | Up to [local] / src / usr.bin / sed |
version 1.19, 2004/07/09 19:39:40 | version 1.20, 2004/07/10 11:41:26 | ||
---|---|---|---|
|
|
||
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"); |