This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Oddities with cygcheck
Dave Korn wrote:
> Cliff Hones wrote:
>
>>Looking through the cygcheck output I attached to an earler message
>>
>> http://cygwin.com/ml/cygwin/2006-01/msg00799.html
>>
>>I noticed strange output concerning kill.exe:
>>
>> Found: C:\WINNT\kill.exe
>> Found: C:\cygwin\bin\kill.exe
>> Warning: C:\WINNT\kill.exe hides C:\cygwin\bin\kill.exe
>>
>>Now, I do, as it happens, have a KILL.EXE (note capitalization) in my WINNT,
>>but it doesn't hide the Cygwin one. I do not have C:\WINNT ahead of my \bin
>>on my path.
>
>
> Well, you did when you ran that cygcheck:
>
> -----------------------msg00799.html-----------------------
> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4
>
> Path: C:\cygwin\usr\local\bin
> C:\cygwin\bin
> C:\cygwin\bin
> C:\cygwin\usr\X11R6\bin
> C:\WINNT\system32
> C:\WINNT
> C:\WINNT\System32\Wbem
>
> Output from C:\cygwin\bin\id.exe (nontsec)
> -----------------------msg00799.html-----------------------
Huh? Looks to me like C:\WINNT is behind C:\cygwin\bin to me!
I've not changed PATH - it echoes in bash as:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/C/WINNT/system32:/C/WINNT:/C/WINNT/System32/Wbem
and, as I demonstrated, the Cygwin kill is found first.
-- Cliff
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/