www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/09/08:50:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <vinschen AT redhat DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019