diff options
author | peter <peter@FreeBSD.org> | 1998-03-11 09:30:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-11 09:30:51 +0000 |
commit | d0208572aa33acc75179f093fa6bc9f42b8b4ec8 (patch) | |
tree | 002d711af1ad3dbfb3c8cf54d2e089fc1f4c528b /contrib | |
parent | 81765fc2bb4eca9e2fba44a1004110868b8ff7fc (diff) | |
download | FreeBSD-src-d0208572aa33acc75179f093fa6bc9f42b8b4ec8.zip FreeBSD-src-d0208572aa33acc75179f093fa6bc9f42b8b4ec8.tar.gz |
Tweak from the cvs sources just after the 1.9.26 release:
1998-03-07 Tim Pierce <twp@skepsis.com>
* 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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cvs/src/rcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |