delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/10/16:23:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3DCECED1.2000808@swcp.com>
Date: Sun, 10 Nov 2002 14:25:37 -0700
From: Lynn Wilson <lynn AT swcp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: cygpath behaviour changed
X-Spam-Status: No, hits=-2.5 required=10.0
tests=X_ACCEPT_LANG,USER_AGENT,TO_LOCALPART_EQ_REAL
X-Spam-Level:
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)

I've just installed the latest cygwin.dll and bash. An existing script no longer 
works.  I tracked it to the following:

cygpath --path --windows "c:\WINNT"
produces c;c:\WINNT  (note the leading c;)

cygpath --windows "c:\WINNT"
produces the correct c:\WINNT

cygpath --path --windows /c/WINNT/
produces the correct c:\WINNT

my mounts are:
c:\program files on /PF type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /c type system (binmode)
r: on /r type system (binmode)
w: on /w type system (binmode)

Lynn


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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