From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8708 invoked by alias); 10 Oct 2014 11:24:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8693 invoked by uid 89); 10 Oct 2014 11:24:49 -0000 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 Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com) (209.85.215.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 10 Oct 2014 11:24:48 +0000 Received: by mail-la0-f49.google.com with SMTP id q1so3038307lam.36 for ; Fri, 10 Oct 2014 04:24:44 -0700 (PDT) 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) Received: by 10.114.93.74 with HTTP; Fri, 10 Oct 2014 04:24:44 -0700 (PDT) In-Reply-To: <20141010103446.GJ2681@calimero.vinschen.de> References: <54137C7F.1040507@redhat.com> <541415B1.8090500@t-online.de> <541698CC.7090802@lysator.liu.se> <5416F946.7010905@t-online.de> <20141008134106.GF29235@calimero.vinschen.de> <5435714D.6060206@t-online.de> <20141009100317.GI29235@calimero.vinschen.de> <54369ADE.7060201@redhat.com> <20141009162906.GA25389@calimero.vinschen.de> <571726.85545.bm@smtp112.sbc.mail.ne1.yahoo.com> <20141010103446.GJ2681@calimero.vinschen.de> Date: Fri, 10 Oct 2014 11:24:00 -0000 Message-ID: Subject: Re: Cannot exec() program outside of /bin if PATH is unset From: Jan Nijtmans To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00113.txt.bz2 2014-10-10 12:34 GMT+02:00 Corinna Vinschen : > On Oct 9 11:46, tednolan@bellsouth.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