delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/18/23:20:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <40343882.2090904@cwilson.fastmail.fm>
Date: Wed, 18 Feb 2004 23:16:02 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Pserver on cygwin corrupts binary files
References: <00d101c3f583$8a14dd90$6500a8c0 AT Ray> <00d601c3f586$d59e25c0$6500a8c0 AT Ray> <c0u7cg$7gs$1 AT sea DOT gmane DOT org> <20040218100109 DOT GG18953 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040218100109.GG18953@cygbert.vinschen.de>

Corinna Vinschen wrote:
> On Feb 17 18:16, Alejandro Lopez-Valencia wrote:
> 
>>Because when using textmode, cygwin changes the semantics of I/O
>>functions in the underlying C runtime. It does (and forces) EOL
>>conversion on all files read and written to the filesystem as well as
>>*sockets* and *pipes* for all applications compiled with the runtime.
> 
> 
> Nope.  Sockets reads and writes are always binary.

The only problem is cvs has special code to do EOL munging itself.  I've 
tried to eliminate that cruft (or #ifdef it out) for the cygwin build, 
but I never tried to "certify" the pserver for use.  As far as I'm 
concerned, using the cygwin cvs as a pserver *server* is unsupported, 
although there have been rumors that it works.  For some people.  Under 
some (as usual, unspecified) conditions.

Of course, using cygwin cvs as a pserver *client* is always supported.

My point: to track down this issue will probably require getting dirty 
(e.g. tracing thru the code).

--
Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019