version 1.121, 2005/09/14 16:32:08 |
version 1.122, 2005/09/15 17:01:10 |
|
|
} |
} |
|
|
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) < 0)) { |
(cvs_mkadmin(path, cfp->cf_root->cr_str, cfp->cf_repo, |
|
NULL, NULL, 0) < 0)) { |
cvs_file_free(cfp); |
cvs_file_free(cfp); |
return (NULL); |
return (NULL); |
} |
} |
|
|
* - we are running in server or local mode and the path is not "." |
* - we are running in server or local mode and the path is not "." |
* - the directory does not exist on disk. |
* - the directory does not exist on disk. |
* - the callback is NULL. |
* - the callback is NULL. |
*/ |
*/ |
callit = 1; |
callit = 1; |
if (cb == NULL) |
if (cb == NULL) |
callit = 0; |
callit = 0; |
|
|
} |
} |
|
|
if (flags & CF_MKADMIN) |
if (flags & CF_MKADMIN) |
cvs_mkadmin(fpath, cf->cf_root->cr_str, NULL); |
cvs_mkadmin(fpath, cf->cf_root->cr_str, NULL, NULL, NULL, 0); |
|
|
return (0); |
return (0); |
} |
} |