delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/10/07:25:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=cH
pP3RRFnFP7BwKesRYuWbQZ2pf1Y1c47ARkOEg+ZMAcAtd1oTEuFpbn5QhFejUL9S
qgOxzs4si68/TT54i3/m0JeYdTIiplvYLK+N5niy0YpMaw7rbuT6rHpIR62p+L5l
wmj8VI/+yS3w8J/hJ8eTEfBMfNZloM/SmS3o5o8OQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=z/9S7Sb8
Fl9W9cqxs6N3wMV9NnQ=; b=CMgv7nXbffeYuiXyZSV/xp4DVT9yMNOlbh0aP3Bx
PgU9YoAPLNMaAxXW7RylqxymgnQmQ9d2g1gDhSVQOdXci6YzQEJw3F/R5hTEBjqc
vgfcstalrZZ7IeILncfovCB51QB5K2JZwsVjCXGoMKFIjg+eOkLKPUTBtgtKXz4s
OS4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f49.google.com
MIME-Version: 1.0
X-Received: by 10.112.160.42 with SMTP id xh10mr2510959lbb.97.1412940284446; Fri, 10 Oct 2014 04:24:44 -0700 (PDT)
In-Reply-To: <20141010103446.GJ2681@calimero.vinschen.de>
References: <54137C7F DOT 1040507 AT redhat DOT com> <541415B1 DOT 8090500 AT t-online DOT de> <541698CC DOT 7090802 AT lysator DOT liu DOT se> <5416F946 DOT 7010905 AT t-online DOT de> <20141008134106 DOT GF29235 AT calimero DOT vinschen DOT de> <5435714D DOT 6060206 AT t-online DOT de> <20141009100317 DOT GI29235 AT calimero DOT vinschen DOT de> <54369ADE DOT 7060201 AT redhat DOT com> <20141009162906 DOT GA25389 AT calimero DOT vinschen DOT de> <571726 DOT 85545 DOT bm AT smtp112 DOT sbc DOT mail DOT ne1 DOT yahoo DOT com> <20141010103446 DOT GJ2681 AT calimero DOT vinschen DOT de>
Date: Fri, 10 Oct 2014 13:24:44 +0200
Message-ID: <CAO1jNwt5UyB9CDKJdotXUND--mg1sY-5Fu+-ZHf2atM5_=HArA@mail.gmail.com>
Subject: Re: Cannot exec() program outside of /bin if PATH is unset
From: Jan Nijtmans <jan DOT nijtmans AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

2014-10-10 12:34 GMT+02:00 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>:
> On Oct  9 11:46, tednolan AT bellsouth DOT net wrote:
>> I'm pretty sure I've got some programs loading Tcl extensions that
>> cd into the directory with the extension dlls, load the extension and then
>> change back to where ever they were.
>
> Hmm.  If so, it's quite a weird way to handle this, rather than
> loading the modules with full path.
>
> Is that a Tcl "feature", or is it how certain Tcl apps are implemented?
> I can't really believe the former...

This is certainly not a Tcl "feature"!  The standard Tcl extension
mechanism always uses the full path simply because Tcl
cannot depend on platform-specific ways to search for
such libraries elsewhere.

I'm willing to test this;I don't believe such a change
will break anything in my Tcl environment.

Regards,
       Jan Nijtmans

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

- Raw text -


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