delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/12/12:57:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
Message-ID: <CA4C18A17BB546B6BD514C4AD40BFF5D@ZOUZOU>
Reply-To: "Zouzou" <internet AT 123gen DOT com>
From: "Zouzou" <internet AT 123gen DOT com>
To: <cygwin AT cygwin DOT com>
Subject: safe to turn off the MS-DOS path warning?
Date: Sun, 12 Jul 2009 18:57:16 +0200
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

hi,

i have recently updated to Cygwin 1.7 and started encountering some of these 
warnings:
  MS-DOS style path detected: C:\Documents\[...]
  Preferred POSIX equivalent is: /cygdrive/c/Documents/[...]
  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

i've read the above page as well as a few threads in this list mentioning 
it, but still don't know what is the reason this warning was added in the 
first place. is it only in a try to build an ideal world where people would 
never be using Win paths, in which case i can safely turn the warning off? 
or are there possible bugs that justify the raison d'être of the warn, and 
it would be wrong of me to close my eyes on it?

specifically, the place where i am hitting this most is a set of Perl 
scripts that i call with the "perl" command. this in turn is part of 
makefiles so i can't run cygpath or other conversions to change the way the 
"perl" command is called. so far, it seems to be working fine as it always 
has with Cygwin 1.5, so i'm thinking of just turning the warning off; but i 
would like to know if there are possible issues i can run into in the future 
if i choose to do that.

thanks,

Zouzou 


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