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 :content-type:content-transfer-encoding; q=dns; s=default; b=MrZ dlj22rlZegHAyvXl7u3aTqo4PpReSKpjdHEbY1w/PDXkOS6obI2UUj8Pcvgcuc++ OI3lqXam4RH7jJ3h3D1zymBwGtGXymspcmA7kSfaUYzu9EyLSSW8pdZXbyHT4slk BpItWUp0UY2T61vS2EYTUyuIVpsScH0Yg3fcUX60= 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 :content-type:content-transfer-encoding; s=default; bh=VpNICQWF9 iyK/k5MCcAfQLwyp4M=; b=IuvcM3zTFJVymvTDdwJzuuZZavE4TA783QzN5ZZ8K 0cV53QpXcHtCnMLdi4af9tx4X5qlknA5rTsnDnyDbB8yVXfa8autPR3hcAtUpzui h6g6V98xAgoyicx32iX8XYW5hH0or00PKEC0++Vxrd+YKJKOuaYrNX67WYoP1PHi oA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <54D7EB72.5060903@towo.net> Date: Mon, 09 Feb 2015 00:04:18 +0100 From: Thomas Wolff 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: Windows/Posix path conversion fails on extra mount points Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes 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. 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" 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