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 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: <20090421235020 DOT GA593 AT ednor DOT casa DOT cgf DOT cx> <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/