if (mkdir(path, mode) == -1) {
if ((mkdir(path, mode) == -1) || (cvs_mkadmin(cfp, mode) < 0)) {
cvs_file_create(const char *path, u_int type, mode_t mode){	int fd;	CVSFILE *cfp;	cfp = cvs_file_alloc(path, type);	if (cfp == NULL)		return (NULL);	cfp->cf_type = type;	cfp->cf_mode = mode;	if (type == DT_DIR) {		if (mkdir(path, mode) == -1) {			cvs_file_free(cfp);			return (NULL);		}	}	else {		fd = open(path, O_WRONLY|O_CREAT|O_EXCL, mode);		if (fd == -1) {			cvs_file_free(cfp);			return (NULL);		}		(void)close(fd);	}	return (cfp);}