Return to file.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.23, 2004/08/06 14:55:56 | version 1.24, 2004/08/06 20:12:15 | ||
---|---|---|---|
|
|
||
do { | do { | ||
sp = strchr(pp, '/'); | sp = strchr(pp, '/'); | ||
if (sp != NULL) | if (sp != NULL) | ||
*sp = '\0'; | *(sp++) = '\0'; | ||
/* special case */ | /* special case */ | ||
if (*pp == '.') { | if (*pp == '.') { | ||
|
|
||
pp = sp; | pp = sp; | ||
} while (sp != NULL); | } while (sp != NULL); | ||
return (NULL); | return (cf); | ||
} | } | ||
|
|
||
dp += ent->d_reclen; | dp += ent->d_reclen; | ||
if ((flags & CF_IGNORE) && cvs_file_chkign(ent->d_name)) | if ((flags & CF_IGNORE) && cvs_file_chkign(ent->d_name)) | ||
continue; | |||
if ((flags & CF_NOSYMS) && (ent->d_type == DT_LNK)) | |||
continue; | continue; | ||
snprintf(pbuf, sizeof(pbuf), "%s/%s", | snprintf(pbuf, sizeof(pbuf), "%s/%s", |