version 1.92, 2005/07/05 16:55:30 |
version 1.93, 2005/07/07 14:27:57 |
|
|
|
|
if (cfp->cf_type != DT_DIR) { |
if (cfp->cf_type != DT_DIR) { |
SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp, |
SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp, |
cf_list); |
cf_list); |
nfiles++; |
nfiles++; |
} |
} |
} else { |
} else { |
|
|
|
|
if (cfp->cf_type == DT_DIR) { |
if (cfp->cf_type == DT_DIR) { |
ndirs++; |
ndirs++; |
SIMPLEQ_INSERT_TAIL(&dirs, cfp, |
SIMPLEQ_INSERT_TAIL(&dirs, cfp, |
cf_list); |
cf_list); |
} else { |
} else { |
/* callback for the file */ |
/* callback for the file */ |
|
|
else if (ent->ce_type == CVS_ENT_DIR) |
else if (ent->ce_type == CVS_ENT_DIR) |
cfp->cf_type = DT_DIR; |
cfp->cf_type = DT_DIR; |
else |
else |
cvs_log(LP_WARN, "unknown ce_type %d", |
cvs_log(LP_WARN, "unknown ce_type %d", |
ent->ce_type); |
ent->ce_type); |
|
|
if (ent->ce_status == CVS_ENT_REMOVED) |
if (ent->ce_status == CVS_ENT_REMOVED) |
|
|
cvs_log(LP_ERR, "failed to prune `%s'", path); |
cvs_log(LP_ERR, "failed to prune `%s'", path); |
empty = 0; |
empty = 0; |
} |
} |
} |
} |
|
|
return (empty); |
return (empty); |
} |
} |