Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 8 Aug 2002 13:50:52 +0400
From: egor duda <deo@logos-m.ru>
Reply-To: egor duda <cygwin@cygwin.com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <124926316162.20020808135052@logos-m.ru>
To: Laurent Pinchart <laurent.pinchart@capflow.com>
CC: "Steven O'Brien" <steven.obrien2@ntlworld.com>, cygwin@cygwin.com
Subject: Re: OpenSSH and WinCVS in Windows 9x
In-Reply-To: <200208081138.11412.laurent.pinchart@capflow.com>
References: <20020806140534.757a155a.steven.obrien2@ntlworld.com>
 <200208061549.28629.laurent.pinchart@capflow.com>
 <200208061724.51373.laurent.pinchart@capflow.com>
 <200208081138.11412.laurent.pinchart@capflow.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

Thursday, 08 August, 2002 Laurent Pinchart laurent.pinchart@capflow.com wrote:

LP> Hi everybody,

LP> After some investigation, I got a few results that might be of interest.

LP> I dived into the WinCVS 1.2 code, and found out that WinCVS hangs in 
LP> get_responses_and_close()@cvs-1.10/src/client.c, when calling waitpid.

LP> I checked on the Linux server where the cvs server is run, and the cvs server 
LP> process didn't terminate. If I kill manually the cvs server process on the 
LP> linux server, the dos box on the windows computer is closed and waitpid 
LP> returns.

LP> If I run WinCVS and OpenSSH on an NT computer (I tried NT5.0), cvs server 
LP> terminates nicely and WinCVS doesn't hang.

LP> Now, I'd like to know why the cvs server doesn't terminate. I suppose it 
LP> should terminate after sending its reply.

LP> Thanks in advance to anyone who can provide me with some help.

To debug the problem a little further you can try to use variable

========================================================================
$CVS_CLIENT_LOG

Used for debugging only in client-server mode. If set, everything send
to the server is logged into `$CVS_CLIENT_LOG.in' and everything send
from the server is logged into `$CVS_CLIENT_LOG.out'.
========================================================================

and cvs protocol description, which can be found here, for example:
http://www.loria.fr/~molli/cvs/doc/cvsclient_5.html

Looking at the files you'll probably see what server was waiting for,
but haven't gotten.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

