delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/14/01:55:42

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019