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

Diff for /src/usr.bin/cvs/buf.c between version 1.41 and 1.42

version 1.41, 2006/03/28 02:13:44 version 1.42, 2006/04/05 01:38:55
Line 61 
Line 61 
 {  {
         BUF *b;          BUF *b;
   
         b = (BUF *)xmalloc(sizeof(*b));          b = xmalloc(sizeof(*b));
         /* Postpone creation of zero-sized buffers */          /* Postpone creation of zero-sized buffers */
         if (len > 0) {          if (len > 0) {
                 b->cb_buf = xmalloc(len);                  b->cb_buf = xmalloc(len);

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42