Return to file.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.57, 2005/03/24 14:35:18 | version 1.58, 2005/03/26 08:09:54 | ||
---|---|---|---|
|
|
||
cfp->cf_name = cvs_strdup(basename(path)); | cfp->cf_name = cvs_strdup(basename(path)); | ||
if (cfp->cf_name == NULL) { | if (cfp->cf_name == NULL) { | ||
cvs_log(LP_ERR, "failed to copy file name"); | cvs_log(LP_ERR, "failed to copy file name"); | ||
cvs_file_free(cfp); | |||
return (NULL); | return (NULL); | ||
} | } | ||
cfp->cf_type = type; | cfp->cf_type = type; |