[BACK]Return to rcs.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

Diff for /src/usr.bin/rcs/rcs.c between version 1.22 and 1.23

version 1.22, 2006/07/08 09:25:44 version 1.23, 2006/07/11 18:36:32
Line 2756 
Line 2756 
                                         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 */

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23