Return to commit.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.159, 2018/12/30 23:09:58 | version 1.160, 2019/06/28 13:35:00 | ||
---|---|---|---|
|
|
||
} | } | ||
cf->repo_fd = open(cf->file_rpath, openflags); | cf->repo_fd = open(cf->file_rpath, openflags); | ||
if (cf->repo_fd < 0) | if (cf->repo_fd == -1) | ||
fatal("cvs_commit_local: %s", strerror(errno)); | fatal("cvs_commit_local: %s", strerror(errno)); | ||
cf->file_rcs = rcs_open(cf->file_rpath, cf->repo_fd, | cf->file_rcs = rcs_open(cf->file_rpath, cf->repo_fd, |