=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/resp.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- src/usr.bin/cvs/Attic/resp.c 2005/07/24 16:46:40 1.48 +++ src/usr.bin/cvs/Attic/resp.c 2005/07/24 17:20:14 1.49 @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.48 2005/07/24 16:46:40 xsa Exp $ */ +/* $OpenBSD: resp.c,v 1.49 2005/07/24 17:20:14 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -368,9 +368,7 @@ if (cvs_noexec == 0) { if ((type == CVS_RESP_CLRSTATDIR) && - (unlink(statpath) == -1) && (errno != ENOENT)) { - cvs_log(LP_ERRNO, "failed to unlink %s file", - CVS_PATH_STATICENTRIES); + (cvs_unlink(statpath) == -1) && (errno != ENOENT)) { return (-1); } else if (type == CVS_RESP_SETSTATDIR) { fd = open(statpath, O_CREAT|O_TRUNC|O_WRONLY, 0644);