delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/21/00:02:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 21 Oct 2010 00:01:36 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygcheck bug: symlinks with unix paths are wrongly resolved
Message-ID: <20101021040136.GB12901@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1078952009 DOT 20101020101725 AT ich DOT dvo DOT ru> <i9nuvt$tin$1 AT dough DOT gmane DOT org> <20101020235907 DOT GA12901 AT ednor DOT casa DOT cgf DOT cx> <1724846205 DOT 20101021064616 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <1724846205.20101021064616@mtu-net.ru>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Oct 21, 2010 at 06:46:16AM +0400, Andrey Repin wrote:
>Greetings, Christopher Faylor!
>
>>>[snip...]
>>>> As AT dstar ~
>>>> $ ln -s `which cmd.exe` cmd.exe
>>>>
>>>> As AT dstar ~
>>>> $ cygcheck ./cmd.exe
>>>>   ->  D:\OTHERBIN\cygwin\cygdrive\d\WINDOWS\system32\cmd.exe
>>>> cygcheck: could not find './cmd.exe'
>>>
>>>cygcheck is not a cygwin application, it's a native windows application, 
>>>so it does not know how to resolve unix paths.
>
>> Sure it does:
>
>Not to mention, the Windows itself don't see much of a difference between "/"
>and "\" in path. (where it see, it is a bug).

I should clarify.  cygcheck does understand UNIX paths.  It does not
understand symlinks just like the OP said.

Sorry for not making that clear.

cgf

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