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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 18 Feb 2004 09:31:06 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Alejandro Lopez-Valencia <dradul@etb.net.co>
cc: cygwin@cygwin.com
Subject: Re: Pserver on cygwin corrupts binary files
In-Reply-To: <c0vjh7$5fc$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.56.0402180928570.5630@slinky.cs.nyu.edu>
References: <00d101c3f583$8a14dd90$6500a8c0@Ray> <00d601c3f586$d59e25c0$6500a8c0@Ray> <c0u7cg$7gs$1@sea.gmane.org> <20040218100109.GG18953@cygbert.vinschen.de> <c0vjh7$5fc$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Wed, 18 Feb 2004, Alejandro Lopez-Valencia wrote:

> On Wed, 18 Feb 2004 11:01:09 +0100, 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.
> >
> >Corinna
>
> Thanks for ether correction. But wasn't that the case a couple of
> years back?

The textmode mount flag affects neither pipes nor sockets, and never did.
There is a "(no)binmode" $CYGWIN setting that affects pipes, but I'm not
sure if it also affects sockets.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

