version 1.55, 2005/03/05 03:00:27 |
version 1.56, 2005/03/05 17:19:50 |
|
|
} |
} |
} |
} |
|
|
if (!(flags & CF_RECURSE) || |
if ((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN)) |
((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN))) |
|
return (0); |
return (0); |
|
|
fd = open(fpath, O_RDONLY); |
fd = open(fpath, O_RDONLY); |
|
|
|
|
if ((flags & CF_NOSYMS) && (ent->d_type == DT_LNK)) |
if ((flags & CF_NOSYMS) && (ent->d_type == DT_LNK)) |
continue; |
continue; |
|
|
|
if (!(flags & CF_RECURSE) && (ent->d_type == DT_DIR)) { |
|
if (cdp->cd_ent != NULL) |
|
(void)cvs_ent_remove(cdp->cd_ent, |
|
ent->d_name); |
|
continue; |
|
} |
|
|
snprintf(pbuf, sizeof(pbuf), "%s/%s", fpath, |
snprintf(pbuf, sizeof(pbuf), "%s/%s", fpath, |
ent->d_name); |
ent->d_name); |