delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/22/14:31:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 22 Apr 2009 14:31:02 -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: <20090422183101.GE19752@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20090420211453 DOT GB3143 AT ednor DOT casa DOT cgf DOT cx> <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>
MIME-Version: 1.0
In-Reply-To: <20090422170826.GR8722@calimero.vinschen.de>
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 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.

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