![]() ![]() | ![]() |
version 1.40, 2005/07/24 17:12:25 | version 1.41, 2005/07/24 17:33:09 | ||
---|---|---|---|
|
|
||
if (ent->d_type == DT_DIR) { | if (ent->d_type == DT_DIR) { | ||
if (cvs_remove_dir(fpath) == -1) | if (cvs_remove_dir(fpath) == -1) | ||
goto done; | goto done; | ||
} else if ((unlink(fpath) == -1) && (errno != ENOENT)) { | } else if ((cvs_unlink(fpath) == -1) && (errno != ENOENT)) | ||
cvs_log(LP_ERRNO, "failed to remove '%s'", fpath); | |||
goto done; | goto done; | ||
} | |||
} | } | ||