X-Spam-Check-By: sourceware.org
Date: Thu, 2 Feb 2006 12:27:53 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: Exec and parent environment [attn tcltk maintainer]
In-Reply-To: <20060202171706.GF22365@trixie.casa.cgf.cx>
Message-ID: <Pine.GSO.4.63.0602021221270.9860@access1.cims.nyu.edu>
References: <020220061704.21728.43E23BAA00009920000054E022092246270A050E040D0C079D0A@comcast.net>  <20060202171706.GF22365@trixie.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, 2 Feb 2006, Christopher Faylor wrote:

> On Thu, Feb 02, 2006 at 05:04:42PM +0000, Eric Blake wrote:
> >$ cygcheck tclsh
> >Found: C:\cygwin\bin\tclsh.exe
> >C:/cygwin/bin/tclsh.exe
> >$
>
>   bash$ ls -l /bin/tclsh*
>   lrwxrwxrwx 1 cgf None    11 Mar 15  2005 /bin/tclsh.exe -> tclsh84.exe
>   -rwxrwxrwx 1 cgf None 16384 Sep  1  2003 /bin/tclsh84.exe
>   bash$ cygcheck /bin/tclsh84.exe
>   d:/cygwin/bin/tclsh84.exe
>     L:\WINXP\system32\KERNEL32.dll
>       L:\WINXP\system32\ntdll.dll
>     d:/cygwin/bin\cygwin1.dll
>       L:\WINXP\system32\ADVAPI32.DLL
> 	L:\WINXP\system32\RPCRT4.dll
>     d:/cygwin/bin\tcl84.dll
>       L:\WINXP\system32\USER32.dll
> 	L:\WINXP\system32\GDI32.dll
>
> I will look into fixing this.
>
> cgf

Whatever fix is made, it would be great if cygcheck output the path of
symlinks it had to chase to get the executable.  Also, outputting "Not an
executable" for scripts and such would help.

BTW:
$ cygcheck vi
Error: could not find vi
$ ls -l /usr/bin/vi
lrwxrwxrwx  1 igor Users 7 Dec 20 18:21 /usr/bin/vi -> vim.exe
$ cygcheck awk
Found: C:\cygwin\bin\awk.exe
C:/cygwin/bin/awk.exe
$ ls -l /usr/bin/awk.exe
lrwxrwxrwx  1 igor Users 8 Nov 17 18:25 /usr/bin/awk.exe -> gawk.exe

	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

