From d0208572aa33acc75179f093fa6bc9f42b8b4ec8 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 11 Mar 1998 09:30:51 +0000 Subject: Tweak from the cvs sources just after the 1.9.26 release: 1998-03-07 Tim Pierce * rcs.c (RCS_checkout): Negation bug when checking out symlinks: existence_error should be !existence_error. This shouldn't cause any major merge problems later. --- contrib/cvs/src/rcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/cvs/src') diff --git a/contrib/cvs/src/rcs.c b/contrib/cvs/src/rcs.c index 3eb3eaf..735502a 100644 --- a/contrib/cvs/src/rcs.c +++ b/contrib/cvs/src/rcs.c @@ -3741,7 +3741,7 @@ RCS_checkout (rcs, workfile, rev, nametag, options, sout, pfn, callerdat) whether it should be considered an error for `dest' to exist at this point. If so, the unlink call should be removed and `symlink' should signal the error. -twp) */ - if (unlink (dest) < 0 && existence_error (errno)) + if (unlink (dest) < 0 && !existence_error (errno)) error (1, errno, "cannot remove %s", dest); if (symlink (info->data, dest) < 0) error (1, errno, "cannot create symbolic link from %s to %s", -- cgit v1.1