This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Backslash incorrectly triggers DOS style path warning


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]