cygcheck bug: symlinks with unix paths are wrongly resolved

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Oct 21 05:22:00 GMT 2010


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



More information about the Cygwin mailing list