This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygcheck bug: symlinks with unix paths are wrongly resolved
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Oct 2010 19:59:07 -0400
- Subject: Re: cygcheck bug: symlinks with unix paths are wrongly resolved
- References: <1078952009.20101020101725@ich.dvo.ru> <i9nuvt$tin$1@dough.gmane.org>
- Reply-to: cygwin at cygwin dot com
On Wed, Oct 20, 2010 at 07:46:05PM -0400, Rolf Campbell wrote:
>On 2010-10-19 19:17, Arseny Slobodyuk wrote:
>[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:
VVVVVVVVVVVVVVV
c:\>cygcheck /usr/bin/ls.exe
C:\cygwin\bin\ls.exe
c:\cygwin\bin\cygwin1.dll
C:\WINXP\system32\ADVAPI32.DLL
C:\WINXP\system32\KERNEL32.dll
C:\WINXP\system32\ntdll.dll
C:\WINXP\system32\RPCRT4.dll
C:\WINXP\system32\Secur32.dll
c:\cygwin\bin\cygintl-8.dll
c:\cygwin\bin\cygiconv-2.dll
c:\cygwin\bin\cyggcc_s-1.dll
And also:
bash-3.2$ cd /cygdrive/c/winxp/system32
bash-3.2$ cygcheck ./cmd.exe
C:\winxp\system32\cmd.exe
C:\winxp\system32\KERNEL32.dll
C:\winxp\system32\ntdll.dll
C:\winxp\system32\msvcrt.dll
C:\winxp\system32\USER32.dll
C:\winxp\system32\GDI32.dll
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