Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 Reply-To: cygwin AT cygwin DOT com To: Alejandro Lopez-Valencia cc: cygwin AT cygwin DOT com Subject: Re: Pserver on cygwin corrupts binary files In-Reply-To: Message-ID: References: <00d101c3f583$8a14dd90$6500a8c0 AT Ray> <00d601c3f586$d59e25c0$6500a8c0 AT Ray> <20040218100109 DOT GG18953 AT cygbert DOT vinschen DOT de> 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/