[ANNOUNCEMENT] Updated: OpenSSH-2.3.0p1

Corinna Vinschen vinschen@redhat.com
Thu Nov 9 05:46:00 GMT 2000

Corinna Vinschen wrote:
> If you can't connect it would be very helpful if you could take
> a look into that. I will try to debug the `pwd' and `ls' problems.

Good news so far.

I could find the problem with `ps'. I can't solve it but I would be able
to create a simple workaround in sftp-server.

I could find the problem with `ls' as well and it was a problem with
the Cygwin DLL itself.

sftp-server relies on the fact that subsequent `readdir()' calls always
return NULL after reaching the end of the directory. This is valid for
other OS'es like Linux or BSD whereas Cygwin returns NULL when reaching
the end of the directory but the _next_ call to `readddir()' again
begins reading the directory contents from the beginning.

I have just patched Cygwin to behave as Linux here. This solves the
`ls' problem in sftp-server.

Charles (and everyone else), it would be nice if you could debug the
problem in calling sftp-server at all. It's very unlikely that it's
related to an inability to change the user context.


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

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list