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

Diff for /src/usr.bin/cvs/rcsparse.c between version 1.9 and 1.10

version 1.9, 2014/11/22 15:51:40 version 1.10, 2014/11/22 18:01:09
Line 224 
Line 224 
         if (rfp->rf_flags & RCS_PARSED)          if (rfp->rf_flags & RCS_PARSED)
                 return (0);                  return (0);
   
         pdp = xcalloc(sizeof(*pdp));          pdp = xcalloc(1, sizeof(*pdp));
         pdp->rp_buf = xmalloc(RCS_BUFSIZE);          pdp->rp_buf = xmalloc(RCS_BUFSIZE);
         pdp->rp_blen = RCS_BUFSIZE;          pdp->rp_blen = RCS_BUFSIZE;
         pdp->rp_bufend = pdp->rp_buf + pdp->rp_blen - 1;          pdp->rp_bufend = pdp->rp_buf + pdp->rp_blen - 1;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10