Port of OpenSSH-2.1.1p4 to Cygwin
Damien Miller
djm at mindrot.org
Thu Aug 3 11:31:00 EST 2000
On Wed, 2 Aug 2000, Corinna Vinschen wrote:
> 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.
Why should read() and write() do line ending translations anyway?
> 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.
It makes keeping the portable version in sync with the OpenBSD tree
much more difficult (lots more broken diffs) why is why I haven't
merged these changes.
-d
--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
More information about the openssh-unix-dev
mailing list