Return to rcs.c CVS log | Up to [local] / src / usr.bin / rcs |
version 1.22, 2006/07/08 09:25:44 | version 1.23, 2006/07/11 18:36:32 | ||
---|---|---|---|
|
|
||
errx(1, "rcs_expand_keywords: string truncated"); | errx(1, "rcs_expand_keywords: string truncated"); | ||
sizdiff = strlen(expbuf) - (end - start); | sizdiff = strlen(expbuf) - (end - start); | ||
tbuflen = len - (end - start); | tbuflen = fin - end; | ||
tbuf = xmalloc(tbuflen); | tbuf = xmalloc(tbuflen); | ||
memcpy(tbuf, end, tbuflen); | memcpy(tbuf, end, tbuflen); | ||
/* only realloc if we have to */ | /* only realloc if we have to */ |