X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Thu, 14 Apr 2011 01:55:26 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Spurious warnings about MS-DOS paths Message-ID: <20110414055526.GA28016@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4DA66596 DOT 3000107 AT ece DOT cmu DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA66596.3000107@ece.cmu.edu> User-Agent: Mutt/1.5.20 (2009-06-14) 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 13, 2011 at 11:10:14PM -0400, Ryan Johnson wrote: >Hi all, > >A recent cygwin update has started spewing warnings such as the >following when I do tab completion on a path containing spaces: >> $ cd ~/Home/Documents/Pcygwin warning: >> MS-DOS style path detected: ~/Home/Documents/PC\ reviews\ 2011 >> Preferred POSIX equivalent is: ~/Home/Documents/PC/ reviews/ 2011 >> CYGWIN environment variable option "nodosfilewarning" turns off this >> warning. >> Consult the user's guide for more details about POSIX paths: >> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > >Would it be possible to make the check exclude common character >escapes? No. If a backslash has gotten to the filesystem layer which is reporting this then something is going wrong. Cygwin can't process a file specification with a backslash as anything but a MS-DOS path. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple