This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Spurious warnings about MS-DOS paths
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 14 Apr 2011 01:55:26 -0400
- Subject: Re: Spurious warnings about MS-DOS paths
- References: <4DA66596.3000107@ece.cmu.edu>
- Reply-to: 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