version 1.13, 2005/04/11 18:02:58 |
version 1.14, 2005/04/12 14:58:40 |
|
|
verbose = 1; |
verbose = 1; |
break; |
break; |
default: |
default: |
return (1); |
return (CVS_EX_USAGE); |
} |
} |
} |
} |
|
|
|
|
cvs_status_sendflags(struct cvsroot *root) |
cvs_status_sendflags(struct cvsroot *root) |
{ |
{ |
if (verbose && (cvs_sendarg(root, "-v", 0) < 0)) |
if (verbose && (cvs_sendarg(root, "-v", 0) < 0)) |
return (-1); |
return (CVS_EX_PROTO); |
return (0); |
return (0); |
} |
} |
|
|
|
|
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) { |
if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) { |
cvs_ent_free(entp); |
cvs_ent_free(entp); |
return (-1); |
return (CVS_EX_PROTO); |
} |
} |
|
|
switch (cfp->cf_cvstat) { |
switch (cfp->cf_cvstat) { |
|
|
if (rf == NULL) { |
if (rf == NULL) { |
if (entp != NULL) |
if (entp != NULL) |
cvs_ent_free(entp); |
cvs_ent_free(entp); |
return (-1); |
return (CVS_EX_DATA); |
} |
} |
|
|
rcs_close(rf); |
rcs_close(rf); |