delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/14/23:21:43

X-Spam-Check-By: sourceware.org
Message-ID: <4531A939.1063A9E6@dessent.net>
Date: Sat, 14 Oct 2006 20:21:29 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: TcLsh cannot follow symlinks?
References: <16c33eca0610141951r20fdc9c1y6338a7ae7fc0c54 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

"J. Stevens" wrote:

> I have a feeling that tclsh (TcL shell) in cygwin cannot follow
> symlinks when using exec or other methods of calling programs.
> I am using a tclsh script that calls zcat, which is really a symlink to gzip.

Yes, that is to be expected I'm afraid.  The tcl distributed in Cygwin
is a somewhat exceptional package.  It is actually a windows app, i.e.
it does not use Cygwin for things like file IO.  Since symlinks are a
fiction the exist only inside Cygwin, native windows apps will choke on
them, just as they would choke on posix paths.  Unfortunately the tcl in
Cygwin is really only there as a means to support the insight debugger,
and insight is coupled to its in-tree version of tcl which leads to this
frankenstein-like situation of having a Cygwin package of a non-Cygwin
app.

I think there has been talk on the insight list about hopefully one day
decoupling insight from its bundled tcl, and I'm pretty sure that tcl
could be built as a proper Cygwin app not a MSVCRT one, so there is hope
that eventually this might be fixed, but it doesn't look like it will be
soon unless somebody steps up to the plate.  There was some talk about
this on cygwin-apps (along with supplying both GDI and X11 versions of
tk, too) but it went nowhere.

Brian

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