X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 21 Oct 2010 00:01:36 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygcheck bug: symlinks with unix paths are wrongly resolved
Message-ID: <20101021040136.GB12901@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1078952009.20101020101725@ich.dvo.ru> <i9nuvt$tin$1@dough.gmane.org> <20101020235907.GA12901@ednor.casa.cgf.cx> <1724846205.20101021064616@mtu-net.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1724846205.20101021064616@mtu-net.ru>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Oct 21, 2010 at 06:46:16AM +0400, Andrey Repin wrote:
>Greetings, Christopher Faylor!
>
>>>[snip...]
>>>> As@dstar ~
>>>> $ ln -s `which cmd.exe` cmd.exe
>>>>
>>>> As@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

