Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A0AAAB0.E9A3CD9A@redhat.com> Date: Thu, 09 Nov 2000 14:46:24 +0100 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: Re: [ANNOUNCEMENT] Updated: OpenSSH-2.3.0p1 References: <200011081557 DOT KAA17388 AT rtl DOT cygnus DOT com> <3A0A0BE6 DOT 2EEFEF2F AT ece DOT gatech DOT edu> <3A0A77AD DOT B20B171B AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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