version 1.9, 2004/08/02 22:45:57 |
version 1.10, 2004/08/27 15:40:44 |
|
|
|
|
#include "cvs.h" |
#include "cvs.h" |
#include "log.h" |
#include "log.h" |
|
#include "proto.h" |
|
|
|
|
extern char *cvs_rootstr; |
extern char *cvs_rootstr; |
|
|
memset(root, 0, sizeof(*root)); |
memset(root, 0, sizeof(*root)); |
root->cr_ref = 2; |
root->cr_ref = 2; |
root->cr_method = CVS_METHOD_NONE; |
root->cr_method = CVS_METHOD_NONE; |
|
CVS_RSTVR(root); |
|
|
|
/* enable the most basic commands at least */ |
|
CVS_SETVR(root, CVS_REQ_VALIDREQ); |
|
CVS_SETVR(root, CVS_REQ_VALIDRESP); |
|
|
root->cr_str = strdup(str); |
root->cr_str = strdup(str); |
if (root->cr_str == NULL) { |
if (root->cr_str == NULL) { |