This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pserver on cygwin corrupts binary files


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]