version 1.48, 2005/07/24 16:46:40 |
version 1.49, 2005/07/24 17:20:14 |
|
|
|
|
if (cvs_noexec == 0) { |
if (cvs_noexec == 0) { |
if ((type == CVS_RESP_CLRSTATDIR) && |
if ((type == CVS_RESP_CLRSTATDIR) && |
(unlink(statpath) == -1) && (errno != ENOENT)) { |
(cvs_unlink(statpath) == -1) && (errno != ENOENT)) { |
cvs_log(LP_ERRNO, "failed to unlink %s file", |
|
CVS_PATH_STATICENTRIES); |
|
return (-1); |
return (-1); |
} else if (type == CVS_RESP_SETSTATDIR) { |
} else if (type == CVS_RESP_SETSTATDIR) { |
fd = open(statpath, O_CREAT|O_TRUNC|O_WRONLY, 0644); |
fd = open(statpath, O_CREAT|O_TRUNC|O_WRONLY, 0644); |