Return to repository.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.24, 2015/01/16 06:40:07 | version 1.25, 2017/05/31 16:18:20 | ||
---|---|---|---|
|
|
||
(void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); | (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); | ||
/* XXX - this ok? */ | if (unlink(fpath) == -1 && errno != ENOENT) | ||
worklist_run(&repo_locks, worklist_unlink); | cvs_log(LP_ERR, "warning: failed to unlink %s", fpath); | ||
} | } | ||
void | void |