Return to root.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.30, 2006/01/25 13:31:45 | version 1.31, 2006/04/05 01:38:56 | ||
---|---|---|---|
|
|
||
} | } | ||
} | } | ||
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); |