[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.9 and 1.10

version 1.9, 2004/08/02 22:45:57 version 1.10, 2004/08/27 15:40:44
Line 36 
Line 36 
   
 #include "cvs.h"  #include "cvs.h"
 #include "log.h"  #include "log.h"
   #include "proto.h"
   
   
 extern char *cvs_rootstr;  extern char *cvs_rootstr;
Line 104 
Line 105 
         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) {

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