bug-cvs
[Top][All Lists]
Advanced

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

CVS problem with ssh


From: Richard M. Stallman
Subject: CVS problem with ssh
Date: Tue, 21 Jun 2005 11:13:49 -0400

I am trying to bring about a fix for the bad interaction between
CVS and SSH that causes data to be lost?

    See <http://lists.gnu.org/archive/html/bug-cvs/2002-07/msg00423.html> for
    a good explanation.

After studying that message, I think I understand the problem.  It
occurs when the stdout of cvs equals the stderr of ssh.  When ssh sets
O_NONBLOCK on that descriptor, cvs gets confused.

This problem has gone unfixed because neither CVS nor SSH is doing
something clearly wrong.  Nonetheless, the combination of the two
are doing something wrong, so we need to fix it somewhere.

Couldn't this be fixed easily by changing cvs to handle EAGAIN
in a simple way when outputting to stdout?  If it just sleeps for a second
and tries again, that ought to fix the problem.

Is there someone who can fix this?  Please respond, if you are working
on CVS.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]