This is the mail archive of the 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]

Re: [ANNOUNCEMENT] Updated: OpenSSH-2.3.0p1

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              
Red Hat, Inc.

Want to unsubscribe from this list?
Send a message to

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