diff options
author | wiz <wiz> | 2004-09-09 22:26:09 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-09-09 22:26:09 +0000 |
commit | 26697f8b47ebab1ce8a705a44628216f6628cb03 (patch) | |
tree | f4e015637f663bb1cb1cdc04a913444aacbf0815 /devel | |
parent | 9b50d2b7433c38ded9aa11ff2e53592938eaee96 (diff) | |
download | pkgsrc-26697f8b47ebab1ce8a705a44628216f6628cb03.tar.gz |
From Ian Lance Taylor <ian@wasabisystems.com>:
* recurse.c (do_recursion): Correct test for calling
server_pause_check to occur when locktype != CVS_LOCK_WRITE.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cvs/patches/patch-aq | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/cvs/patches/patch-aq b/devel/cvs/patches/patch-aq index 4e0e059a847..2240fc974fd 100644 --- a/devel/cvs/patches/patch-aq +++ b/devel/cvs/patches/patch-aq @@ -1,6 +1,6 @@ -$NetBSD: patch-aq,v 1.6 2004/04/15 22:28:36 wiz Exp $ +$NetBSD: patch-aq,v 1.7 2004/09/09 22:26:09 wiz Exp $ ---- src/recurse.c.orig Fri Mar 19 23:21:18 2004 +--- src/recurse.c.orig 2004-03-19 23:21:18.000000000 +0100 +++ src/recurse.c @@ -526,7 +526,7 @@ do_recursion (frame) if (frame->flags == R_SKIP_ALL) @@ -11,3 +11,12 @@ $NetBSD: patch-aq,v 1.6 2004/04/15 22:28:36 wiz Exp $ /* The fact that locks are not active here is what makes us fail to have the +@@ -566,7 +566,7 @@ do_recursion (frame) + * generating data, to give the buffers a chance to drain to the + * remote client. We should not have locks active at this point, + * but if there are writelocks around, we cannot pause here. */ +- if (server_active && locktype != CVS_LOCK_NONE) ++ if (server_active && locktype != CVS_LOCK_WRITE) + server_pause_check(); + #endif + |