version 1.32, 2005/09/25 17:38:44 |
version 1.33, 2005/09/30 15:40:22 |
|
|
|
|
added = 0; |
added = 0; |
|
|
|
/* dont use `cvs add *' */ |
|
if ((strcmp(cf->cf_name, ".") == 0) || |
|
(strcmp(cf->cf_name, "..") == 0) || |
|
(strcmp(cf->cf_name, CVS_PATH_CVSDIR) == 0)) { |
|
if (verbosity > 1) |
|
cvs_log(LP_ERR, |
|
"cannot add special file `%s'.", cf->cf_name); |
|
return (CVS_EX_FILE); |
|
} |
|
|
if (cf->cf_type == DT_DIR) |
if (cf->cf_type == DT_DIR) |
return cvs_add_directory(cf); |
return cvs_add_directory(cf); |
|
|
|
|
errno = ENAMETOOLONG; |
errno = ENAMETOOLONG; |
cvs_log(LP_ERRNO, "%s", entry); |
cvs_log(LP_ERRNO, "%s", entry); |
return (CVS_EX_DATA); |
return (CVS_EX_DATA); |
} |
} |
|
|
if ((ent = cvs_ent_parse(entry)) == NULL) { |
if ((ent = cvs_ent_parse(entry)) == NULL) { |
cvs_log(LP_ERR, "failed to parse entry"); |
cvs_log(LP_ERR, "failed to parse entry"); |