delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/04:47:29

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=OXD7qcthxjkcTs/RFJrqyf3lDGbYVWivlbPNzhuNzvd3T300+QU+u
o0vWKr+BWokn95lOXvlDkZZKge3b1w5mFQkiRsMt9M7ZSbGk5aM4Q7FGmt0/9cQs
ej1KMSOne3iDlbIwg5si1TnugdxUxoKME+Lkhu5ADtE9JIQ/pLuwW8=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ztSFwPjeTodeOqQq+X4zK6FQwsQ=; b=JhP8GHFhtPeEj5jgmtnO8w1wYCEf
zr1HiFICCg2Y2q9fVHwZJHmLvEhPOGJk4vwvB6bCeCzsdmAzmWEDlOPs4K9bSw5N
czPBuHYNbr0ZKiSx4e5FDbcfuTwSTrLk7Zv5956TPB9rBjwzRrTn9u3D11ZfHXb0
3Ufn7v7P469nBlU=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 9 Feb 2015 10:18:11 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Windows/Posix path conversion fails on extra mount points
Message-ID: <20150209091811.GB10457@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54D7EB72 DOT 5060903 AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <54D7EB72.5060903@towo.net>
User-Agent: Mutt/1.5.23 (2014-03-12)

--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=E2=80=99s getting confused by this mix-up.

If so, it's a bug in the software.  /usr/lib is a prefectly valid path.

> At least the round-trip works:
> cygwin_create_path (CCP_POSIX_TO_WIN_A, "/usr/lib") -> "C:\cygwin\lib"
> so a directory existing in the Windows world is again addressed; however,
> this does not work if the directory is preceded with the cygwin root:
> cygwin_create_path (CCP_POSIX_TO_WIN_A, "/cygdrive/c/cygwin/usr/lib") ->
> "C:\cygwin\usr\lib"

The latter is not supposed to work.  The cygdrive prefix is not supposed
to be used to point inside the Cygwin root dir.  Logically it's an entire
different path: /usr/lib !=3D /cygdrive/c/cygwin/usr/lib.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--EuxKj2iCbKjpUGkD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU2HtTAAoJEPU2Bp2uRE+gVBsQAKRovO9BXbOCaKbZlWguykn9
JcBmzWNIMR+Kh3kK6M6J+Sw1l1uxRbSzSC5dR6O75ZNbyPJSSfDIxaLIrmsVnx5G
6Sf1HIRYLPWhgnnXjxI9s3mEn8qSOQa0SuEdb3slRtGJOE+bgSZF5TIj4XDGMiJ5
vOogZVCL7UkF+X7YSniTvSl4g4h2wokY/KG6Sb9JAQGaiw1YXzEeoRJBjBb++Uhr
nNzFWfHpXsFnD5dffxAk6lzap3fyjYwwSBFt+x+9FGaw9KmmQPvonK+yiKV522zy
mQ5stcseLyK/hl6oeq/GjQe/g3FdXwH2FCF3dujpY2ROYbtPi4UaPQxhxZfxo3iq
eWk1cssraOUpPGDFTkt83EGYAGtLrvY4gpVSKlEMezg+xHjgnvfSJ5qEKOoNU786
8T4Jt6JfM7Zt4SoSqxBNpaU81FNwQSf6l5v280Mfh/W7AuyN5cOgVI8n3Lh4LGCp
iH6F5dnmlKu8mIp4vuJgaTBDnZ/zY7HWoqo62togKLOylxnrZLJCKHmzJ955gPMn
OZqnhHN12pzZdZ7dQg76KNVSYEr1Lb/QV2wjKvIbIMFhfwiDcyzAanDWhEjo9+lR
FCGFY/kwMQIliSalKU5jdsQ+zcoAj5vpdSJIXDe3saXCgEE5GmTUEcB+ZVCFmhcg
/yIjA181iqEcvgkt5lmQ
=AORB
-----END PGP SIGNATURE-----

--EuxKj2iCbKjpUGkD--

- Raw text -


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