This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Spurious warnings about MS-DOS paths


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]