delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/19/14:09:37

X-Spam-Check-By: sourceware.org
Message-ID: <43CFE3D4.4090007@hones.org.uk>
Date: Thu, 19 Jan 2006 19:09:08 +0000
From: Cliff Hones <cliff AT hones DOT org DOT uk>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Oddities with cygcheck
X-Spam-Score: -2.5 (--)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.  Indeed, I can run the different kills in various ways:

   cliff AT CliffW ~
   $ kill
   kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]

That, of course, is the bash builtin.

   cliff AT CliffW ~
   $ KILL
   Usage: KILL [-f] [-signal] [-s signal] pid1 [pid2 ...]
          KILL -l [signal]
   Send signals to processes
   <further usage deleted>

And that is the Cygwin kill from /bin - capitals avoids the builtin, and it is found on the
path in preference to the WINNT version

   cliff AT CliffW ~
   $ /c/WINNT/KILL
   missing pid or task name

And that's the one in WINNT (some old Microsoft version from WinNT3.5, I think, which I didn't
even know was there).

So, two minor problems - cygcheck is wrong to say the WINNT kill hides the Cygwin one,
and cygcheck doesn't output the WINNT file name in the correct case.

Just thought I'd mention it here for reference.

-- 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019