X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4EFA9F07.9040301@shaddybaddah.name>
Date: Wed, 28 Dec 2011 15:45:59 +1100
From: Shaddy Baddah <lithium-cygwin@shaddybaddah.name>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: sftp-server -h succeeds on cmd, fails on mintty
References: <4EF28545.4090901@shaddybaddah.name> <4EF28709.8000208@cygwin.com> <4EF29183.8060408@shaddybaddah.name> <4EF29826.4010301@cygwin.com> <4EF407E6.4070308@shaddybaddah.name>
In-Reply-To: <4EF407E6.4070308@shaddybaddah.name>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

On 23/12/11 15:47, Shaddy Baddah wrote:
> Also, there is a twist. Running under strace alters the
> behaviour. Although I'm not totally surprised by this because I've
> seen that strace alters tty I/O when I was debugging a problem a
> couple years back
> (http://sourceware.org/ml/cygwin-developers/2010-02/msg00043.html).

I apologise. Whilst in the past strace has wrong-footed me, and
somewhat this time (with different behaviour), as it turns out, I
should not have disparaged it.


> I'll start setting up for dll debugging now.

The problem was all my own doing. I had a cygwin1.dll, and other dlls
in my home directory. I noticed this because when I cd'ed out of my
home directory, the sftp-server command would work.

Of course, once I'd moved the dlls out of the way, sftp-server came
good. And of course, my sftp issues have also cleared up.

I apologise for the noise. Thanks to Larry for humouring me, and to
the Cygwin community in general.

-- 
Shaddy


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

