delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/15:50:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=cYiR5S6k+iToyr8y+33xWMt2F+UnQeJVppFmXMFvvXV
FfyCxXvFAo5gfVRa9aGch3tOB0v6wszuEXqgaaQrvgHj8QZ9rRbMRfH+HbMLLjHY
Sq12nh8xHGjTWN5Af3DBr1vERunz85kA8IznniG4Bdfkt3ovgcZIn99cRaS0FzEw
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=h7nxEGm4ZWAzVLJZtntjVWnggVg=; b=IK0XOqMrqkjyRi2Mv
R8o6loPWj0/6PRJzEgp/NhCj5V6+tRpGZjkSir+KaenqJAarT30edagAmBqvpscW
emyPZc5bR/5SnhO1LIwO8qt2AdrgngEORztVLsDlT2mRAPBCN5tIMXZyCvN0s3F8
bVKLRRiw4IahLL3p2zXwZCWWzc=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <54D91CD1.2040707@towo.net>
Date: Mon, 09 Feb 2015 21:47:13 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Windows/Posix path conversion fails on extra mount points
References: <54D7EB72 DOT 5060903 AT towo DOT net> <20150209091811 DOT GB10457 AT calimero DOT vinschen DOT de>
In-Reply-To: <20150209091811.GB10457@calimero.vinschen.de>
X-TagToolbar-Keys: D20150209214713431
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 09.02.2015 um 10:18 schrieb Corinna Vinschen:
> On Feb  9 00:04, Thomas Wolff wrote:
>> cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib"
>> This is the correct directory, however, only by means of the extra mount
>> point
>> of /usr/lib; I think the result should rather be the likewise correct
>> but more intuitive "/lib".
>> There is software that’s getting confused by this mix-up.
> If so, it's a bug in the software.  /usr/lib is a prefectly valid path.
I don't know the details of that software and don't have the sources. 
But it needs to access the directory with the Windows API and somehow 
derives the Windows path back from /usr/lib which then doesn't work 
because /usr/lib doesn't exist for Windows while /lib does.
For this reason, I would suggest and appreciate if cygwin_conv_path 
disregards the mount point for its mapping in order to provide a more 
consistent match which also works with a "manual round-trip".
------
Thomas

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