www.delorie.com/archives/browse.cgi | search |
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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |