This patch prevent to send Global_option -n with `cvs update -p' in
client mode. Since Global_option affects succeeding CVS operations,
it shouldn't be used. Anyway, noexec variable is set in forked server
process and it works well.
Index: src/update.c
===================================================================
RCS file: /home/akr/.cvsroot/ccvs/src/update.c,v
retrieving revision 1.182
diff -u -r1.182 update.c
--- src/update.c 2000/10/24 15:07:47 1.182
+++ src/update.c 2000/11/16 11:45:53
@@ -202,6 +202,15 @@
break;
case 'p':
pipeout = 1;
+#ifdef CLIENT_SUPPORT
+ /*
+ noexec will be set in forked process at server side.
+ If noexec is set in client side, it will be sent as
+ Global_option -n and it set noexec in non-forked server
+ process.
+ */
+ if (!client_active)
+#endif
noexec = 1; /* so no locks will be created */
break;
case 'j':
--
Tanaka Akira
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs