summaryrefslogtreecommitdiff
path: root/devel/cvsps/patches/patch-ag
blob: abc5dcabf8251af64b58fd6be13516fd744a34fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ag,v 1.1 2012/06/29 14:59:24 christos Exp $

--- cvs_direct.c.orig	2012-06-28 17:52:13.000000000 -0400
+++ cvs_direct.c	2012-06-28 17:52:51.000000000 -0400
@@ -916,7 +916,9 @@
     else
 	debug(DEBUG_APPERROR, "cvs_direct: didn't read version: %s", lbuff);
     
-    read_line(ctx, lbuff);
+    do
+	read_line(ctx, lbuff);
+    while(memcmp(lbuff, "M ", 2) == 0);
     if (strcmp(lbuff, "ok") != 0)
 	debug(DEBUG_APPERROR, "cvs_direct: protocol error reading version");