delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/10/01:01:09

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 10 Dec 1999 01:00:42 -0500
To: Andrew Dalgleish <andrewd AT axonet DOT com DOT au>
Cc: "'cygwin-developers AT sourceware DOT cygnus DOT com'" <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: snapshot-991207
Message-ID: <19991210010042.A6889@cygnus.com>
Mail-Followup-To: Andrew Dalgleish <andrewd AT axonet DOT com DOT au>,
"'cygwin-developers AT sourceware DOT cygnus DOT com'" <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <00F8D6E8AB0DD3118F1A006008186C9607C7CE AT server1 DOT axonet DOT com DOT au>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <00F8D6E8AB0DD3118F1A006008186C9607C7CE@server1.axonet.com.au>; from andrewd@axonet.com.au on Fri, Dec 10, 1999 at 02:54:37PM +1100

On Fri, Dec 10, 1999 at 02:54:37PM +1100, Andrew Dalgleish wrote:
>>>>Nope.  I've duplicated it.  I'll see what the problem is.  It doesn't
>>>>seem to be thread-safe related and it probably isn't even a problem
>>>>with the new signal code.  It looks like my new mutex-like object is
>>>>not as robust as I thought.

I've checked in changes that should improve this behavior.

>>>This might be related - "echo $(pwd)" outputs just a newline.  I first
>>>observed this in winsup-19991205, but I have not even begun to look.
>>>This was built on NT4sp5 + cygwin B20.1 + Mumit's gcc 2.95 +
>>>winsup-19991204.

>>   What shell are you using?
>The shell is bash 2.02 from cygwin b20.1, copied to /bin/sh.exe.
>>  
>>   Does pwd actually
>> have a value?
>
>What do you mean?
>$(pwd) is a command in a sub-shell, not a variable.

Doh.  That's right.  I've got make on the brain.

>Shell built-in commands eg $(pwd) never work. 
>External commands eg $(dirname /foo/bar) work most times, but hang maybe
>1 time in 20.
>A ^C brings back the prompt every time (but one).

The hanging problem should be fixed.

I think I know how to deal with this problem but it will have to wait
until tomorrow.

cgf

- Raw text -


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