This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygcheck failing to find file
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Fergus Daly <ugly dot leper at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 15 Feb 2018 22:23:39 +0300
- Subject: Re: cygcheck failing to find file
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru
- References: <CAKqBF1gpENfzKjZdbP2RFPxPZpuHu6d7JPnAAJM3R+B5nQb3oQ@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
Greetings, Fergus Daly!
> $ ls -al /d/src/sc.exe
> -rwxr-xr-x 1 ferg dell 1426958 Jan 28 17:44 /d/src/sc.exe*
> $ cygcheck /d/src/sc.exe
> cygcheck: could not find '/d/src/sc.exe'
> Why can't cygcheck find the file?
> (Particularly, when ls can. And so can, say, md5sum.)
Nice once. Can confirm. It works with native paths though.
$ uname -a; cygcheck /c/usr/sbin/php/php.exe; cygcheck "$( cygpath -wla /c/usr/sbin/php/php.exe )"
CYGWIN_NT-6.1 daemon2 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
cygcheck: could not find '/c/usr/sbin/php/php.exe'
C:\usr\sbin\php\php.exe
C:\Windows\system32\WS2_32.dll
C:\Windows\system32\msvcrt.dll
C:\Windows\system32\KERNELBASE.dll
C:\Windows\system32\ntdll.dll
--
With best regards,
Andrey Repin
Thursday, February 15, 2018 22:17:50
Sorry for my terrible english...
--
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