version 1.123, 2005/09/15 22:12:23 |
version 1.124, 2005/10/07 21:47:32 |
|
|
struct cvs_ignpat { |
struct cvs_ignpat { |
char ip_pat[MAXNAMLEN]; |
char ip_pat[MAXNAMLEN]; |
int ip_flags; |
int ip_flags; |
TAILQ_ENTRY (cvs_ignpat) ip_list; |
TAILQ_ENTRY(cvs_ignpat) ip_list; |
}; |
}; |
|
|
|
|
|
|
|
|
if (((mkdir(path, mode) == -1) && (errno != EEXIST)) || |
if (((mkdir(path, mode) == -1) && (errno != EEXIST)) || |
(cvs_mkadmin(path, cfp->cf_root->cr_str, cfp->cf_repo, |
(cvs_mkadmin(path, cfp->cf_root->cr_str, cfp->cf_repo, |
NULL, NULL, 0) < 0)) { |
NULL, NULL, 0) < 0)) { |
cvs_file_free(cfp); |
cvs_file_free(cfp); |
return (NULL); |
return (NULL); |
} |
} |
|
|
* but does not exist anymore, start complaining. |
* but does not exist anymore, start complaining. |
*/ |
*/ |
if (!(cfp->cf_flags & CVS_FILE_ONDISK) && |
if (!(cfp->cf_flags & CVS_FILE_ONDISK) && |
(cfp->cf_cvstat == CVS_FST_ADDED) && |
(cfp->cf_cvstat == CVS_FST_ADDED) && |
(cfp->cf_type != DT_DIR)) |
(cfp->cf_type != DT_DIR)) |
cvs_log(LP_WARN, "new-born %s has disappeared", path); |
cvs_log(LP_WARN, "new-born %s has disappeared", path); |
|
|