[Top][All Lists]

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

Re: cvs output bug - missing 4096 byte blocks

From: Larry Jones
Subject: Re: cvs output bug - missing 4096 byte blocks
Date: Sun, 16 Mar 2003 13:17:55 -0500 (EST)

Greg Klanderman writes:
> When running "cvs diff", if the diff is large enough, the output is
> often missing 4096 byte blocks at byte offsets that are multiples of
> 4096.

Yes, there was extensive discussion of it here a while ago.  The problem
is caused by an interaction between CVS and ssh when you combind stderr
with stdout -- the problem involves non-blocking mode getting inherited
(which is what causes the missing outout since the code generating the
output isn't expecting non-blocking mode and doesn't notice the failure
that occurs when there's no room to write without blocking).  I don't
think there was any resolution, there are good reasons for both CVS and
ssh to behave as they do and neither is clearly wrong, so where and how
to fix the problem is not obvious.  See the archives for more details.

-Larry Jones

Is it too much to ask for an occasional token gesture of appreciation?!
-- Calvin

reply via email to

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