X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 	tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <49EF0674.9090605@cornell.edu>
Date: Wed, 22 Apr 2009 07:58:44 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [1.7] Backslash incorrectly triggers DOS style path warning
References: <49EC78A0.6050602@cornell.edu> <49EC7A7D.2050706@cornell.edu> 	 <20090420211453.GB3143@ednor.casa.cgf.cx> 	 <f60fe000904211641l558faa99r957730125f8cd7ab@mail.gmail.com> 	 <20090421235020.GA593@ednor.casa.cgf.cx> <f60fe000904211700v712de190s50f5998e48ecbc98@mail.gmail.com> <49EE7BC1.1070400@gmail.com>
In-Reply-To: <49EE7BC1.1070400@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/21/2009 10:06 PM, Dave Korn wrote:
> Mark J. Reed wrote:
>> On Tue, Apr 21, 2009 at 7:50 PM, Christopher Faylor wrote:
>>> Cygwin isn't scanning command lines looking for backslashes to scold you
>>> about.
>> Glad to hear it
>>
>>>  The line in question was somehow used as an argument to open()
>>> or stat() or access() or some other function which takes a filename
>>> argument.
>> Got it.   So the bug is not in Cygwin, but in some shell function in
>> the completion setup, which is passing an awk program incorrectly,
>> causing awk to treat the program text as a filename.
>>
> 
>   It is maybe getting globbed on the command-line because not protected by
> quoting and it contains pattern match chars?

The text in question is in the definition of _known_hosts() in 
/etc/bash_completion, in case someone wants to try to sort this out.

Ken

--
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/

