www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/22/14:50:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 22 Apr 2009 14:50:30 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Backslash incorrectly triggers DOS style path warning
Message-ID: <20090422185029.GA13620@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f60fe000904211641l558faa99r957730125f8cd7ab AT mail DOT gmail DOT com> <20090421235020 DOT GA593 AT ednor DOT casa DOT cgf DOT cx> <f60fe000904211700v712de190s50f5998e48ecbc98 AT mail DOT gmail DOT com> <49EE7BC1 DOT 1070400 AT gmail DOT com> <49EF0674 DOT 9090605 AT cornell DOT edu> <49EF0C6E DOT 6010808 AT byu DOT net> <49EF1268 DOT 6060607 AT byu DOT net> <20090422165923 DOT GB19752 AT ednor DOT casa DOT cgf DOT cx> <20090422170826 DOT GR8722 AT calimero DOT vinschen DOT de> <20090422183101 DOT GE19752 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20090422183101.GE19752@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Apr 22, 2009 at 02:31:02PM -0400, Christopher Faylor wrote:
>On Wed, Apr 22, 2009 at 07:08:26PM +0200, Corinna Vinschen wrote:
>>On Apr 22 12:59, Christopher Faylor wrote:
>>> On Wed, Apr 22, 2009 at 06:49:44AM -0600, Eric Blake wrote:
>>> >> In other words, strace is mistakenly performing glob expansion on the
>>> >> subsidiary arguments to the program being traced, when we really wanted to
>>> >> trace ls with a literal argument of "*".
>>> >
>>> >And this strace limitation (bug?) was just a red herring.
>>> 
>>> strace doesn't do glob expansion.  Cygwin does glob expansion when it is
>>> run by a non-cygwin application.  That is more-or-less what strace is.
>>> There is no easy way around this.
>>
>>`set CYGWIN=noglob' should help, shouldn't it?
>
>Hmm.  Yes.  Good idea.  I guess strace itself could set that under the
>theory that any command line arguments it has received should not be
>glob expanded.
>
>I'll check in a fix for that.

Hmm.  This would mean that you can't debug glob/noglob using strace
though...  I guess I'll check in a fix for the common case where you
don't want to be surprised by having your quoted wildcards expanded.
The other case is probably only useful for cygwin DLL developers.  I'm
sure that if this is a problem I'll hear a loud outcry from that massive
community.

cgf

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

- Raw text -


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