version 1.32, 2005/05/20 05:13:44 |
version 1.33, 2005/05/20 20:00:53 |
|
|
|
|
if (cf->cf_type == DT_DIR) { |
if (cf->cf_type == DT_DIR) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (cf->cf_cvstat != CVS_FST_UNKNOWN) |
if (cf->cf_cvstat != CVS_FST_UNKNOWN) { |
ret = cvs_senddir(root, cf); |
if (cvs_senddir(root, cf) < 0) |
|
return (CVS_EX_PROTO); |
|
} |
} |
} |
|
|
return (ret); |
return (0); |
} |
} |
|
|
cvs_file_getpath(cf, fpath, sizeof(fpath)); |
cvs_file_getpath(cf, fpath, sizeof(fpath)); |
|
|
if (l == -1 || l >= (int)sizeof(rcspath)) { |
if (l == -1 || l >= (int)sizeof(rcspath)) { |
errno = ENAMETOOLONG; |
errno = ENAMETOOLONG; |
cvs_log(LP_ERRNO, "%s", rcspath); |
cvs_log(LP_ERRNO, "%s", rcspath); |
return (-1); |
return (CVS_EX_DATA); |
} |
} |
|
|
return (0); |
return (0); |