Porting openssh to Win32
Andre Lucas
andre.lucas at dial.pipex.com
Fri Jan 21 03:26:53 EST 2000
Marc van Woerkom wrote:
>
> > First port of call was a cygwin port of openssl (I was using cygwin 1.0,
> > not b20.1) as the existing win32 stuff is for the M$ compiler. I got it
> > compiled with gcc (using the gcc target, and changing an 'ln -s'
> > command to a copy, as the symlink was looping on NT) but for some reason
> > a file was getting truncated and the tests failed. I stopped there as
> > there was other stuff to do on the Unix ports.
>
> Another source of fun is usually the \r\n vs \n line termination, as
> expressed using text or binary mode on files.
Yep, it's quite likely the truncated file is simply this - it spots an
EOF for an ASCII mode file (I got bitten by that when porting some unix
OpenGL stuff a while back, I had trouble opening GIFs on Windows...
-André
More information about the openssh-unix-dev
mailing list