Return to rcs.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.77, 2005/10/05 11:38:02 | version 1.78, 2005/10/05 17:34:59 | ||
---|---|---|---|
|
|
||
return (-1); | return (-1); | ||
} | } | ||
if ((to_fd = open(rfp->rf_path, O_WRONLY|O_CREAT)) | if ((to_fd = open(rfp->rf_path, O_WRONLY|O_TRUNC|O_CREAT)) | ||
== -1) { | == -1) { | ||
cvs_log(LP_ERRNO, "failed to open `%s'", fn); | cvs_log(LP_ERRNO, "failed to open `%s'", fn); | ||
close(from_fd); | close(from_fd); |