version 1.140, 2008/03/09 13:01:22 |
version 1.141, 2008/03/09 14:28:21 |
|
|
struct stat st; |
struct stat st; |
struct dirent *dp; |
struct dirent *dp; |
char *buf, *ebuf, *cp; |
char *buf, *ebuf, *cp; |
struct cvs_ent *ent; |
|
struct cvs_ent_line *line; |
|
CVSENTRIES *entlist; |
CVSENTRIES *entlist; |
|
|
cvs_log(LP_TRACE, "cvs_update_leavedir(%s)", cf->file_path); |
cvs_log(LP_TRACE, "cvs_update_leavedir(%s)", cf->file_path); |
|
|
|
|
if (!strcmp(dp->d_name, CVS_PATH_CVSDIR)) { |
if (!strcmp(dp->d_name, CVS_PATH_CVSDIR)) { |
entlist = cvs_ent_open(cf->file_path); |
entlist = cvs_ent_open(cf->file_path); |
TAILQ_FOREACH(line, &(entlist->cef_ent), |
if (!TAILQ_EMPTY(&(entlist->cef_ent))) |
entries_list) { |
isempty = 0; |
ent = cvs_ent_parse(line->buf); |
|
|
|
if (ent->ce_status == CVS_ENT_REMOVED) { |
|
isempty = 0; |
|
cvs_ent_free(ent); |
|
break; |
|
} |
|
|
|
cvs_ent_free(ent); |
|
} |
|
cvs_ent_close(entlist, ENT_NOSYNC); |
cvs_ent_close(entlist, ENT_NOSYNC); |
} else { |
} else { |
isempty = 0; |
isempty = 0; |