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

Diff for /src/usr.bin/cvs/root.c between version 1.30 and 1.31

version 1.30, 2006/01/25 13:31:45 version 1.31, 2006/04/05 01:38:56
Line 90 
Line 90 
                 }                  }
         }          }
   
         root = (struct cvsroot *)xmalloc(sizeof(*root));          root = xcalloc(1, sizeof(*root));
         memset(root, 0, sizeof(*root));  
         root->cr_ref = 1;          root->cr_ref = 1;
         root->cr_method = CVS_METHOD_NONE;          root->cr_method = CVS_METHOD_NONE;
         CVS_RSTVR(root);          CVS_RSTVR(root);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31