Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/xcvs/dist/src restore lost fix: add nolock



details:   https://anonhg.NetBSD.org/src/rev/6082012f7a98
branches:  trunk
changeset: 777887:6082012f7a98
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 08 20:42:56 2012 +0000

description:
restore lost fix: add nolock

diffstat:

 external/gpl2/xcvs/dist/src/recurse.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9ba79804b877 -r 6082012f7a98 external/gpl2/xcvs/dist/src/recurse.c
--- a/external/gpl2/xcvs/dist/src/recurse.c     Thu Mar 08 20:42:21 2012 +0000
+++ b/external/gpl2/xcvs/dist/src/recurse.c     Thu Mar 08 20:42:56 2012 +0000
@@ -619,7 +619,7 @@
     if (frame->flags == R_SKIP_ALL)
        return 0;
 
-    locktype = noexec ? CVS_LOCK_NONE : frame->locktype;
+    locktype = (nolock || noexec) ? CVS_LOCK_NONE : frame->locktype;
 
     /* The fact that locks are not active here is what makes us fail to have
        the



Home | Main Index | Thread Index | Old Index