version 1.2, 2004/07/14 03:59:36 |
version 1.3, 2004/07/14 04:32:42 |
|
|
cvs_splitpath(path, dir, sizeof(dir), file, sizeof(file)); |
cvs_splitpath(path, dir, sizeof(dir), file, sizeof(file)); |
cvs_readrepo(dir, repo, sizeof(repo)); |
cvs_readrepo(dir, repo, sizeof(repo)); |
|
|
entf = cvs_ent_open(dir); |
entf = cvs_ent_open(dir, O_RDONLY); |
if (entf == NULL) { |
if (entf == NULL) { |
cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir); |
cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir); |
return (-1); |
return (-1); |
|
|
return (-1); |
return (-1); |
} |
} |
|
|
entf = cvs_ent_open(dir); |
entf = cvs_ent_open(dir, O_RDONLY); |
if (entf == NULL) { |
if (entf == NULL) { |
cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir); |
cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir); |
(void)closedir(dirp); |
(void)closedir(dirp); |