Port of OpenSSH-2.1.1p4 to Cygwin

Corinna Vinschen vinschen at cygnus.com
Thu Aug 3 03:48:35 EST 2000


Niels Provos wrote:
> 
> In message <39872879.1047BF2 at cygnus.com>, Corinna Vinschen writes:
> >That helps, indeed. Shall I change that in my patch and resend it or
> >is the patch ok as it is?
> For further integration of your patch into the portable version of
> OpenSSH, you need to talk with Damien Miller.
> 
> For example, there is no O_BINARY in POSIX.  If you need to specify
> O_BINARY, then there is a problem with cygwin.  And that's the place
> where it should be fixed.

You know that this is impossible, do you?

The underlying system is using two byte line endings and there
has to be a method to disallow CRLF <-> LF translation for
reading binary files in contrast to text files.

On the other hand I don't understand where the problem is.
The O_BINARY usage in the patch is transparent to all
other operating systems and many parts of the sources contain
special code for different OSes like HPUX, Solaris, NeXT etc.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin at sources.redhat.com
Red Hat, Inc.
mailto:vinschen at cygnus.com





More information about the openssh-unix-dev mailing list