From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17807 invoked by alias); 10 Oct 2014 10:34: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 17797 invoked by uid 89); 10 Oct 2014 10:34:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Oct 2014 10:34:49 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id C734D8E0A26; Fri, 10 Oct 2014 12:34:46 +0200 (CEST) Date: Fri, 10 Oct 2014 10:34:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cannot exec() program outside of /bin if PATH is unset Message-ID: <20141010103446.GJ2681@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3yNHWXBV/QO9xKNm" Content-Disposition: inline In-Reply-To: <571726.85545.bm@smtp112.sbc.mail.ne1.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-10/txt/msg00111.txt.bz2 --3yNHWXBV/QO9xKNm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 954 On Oct 9 11:46, tednolan@bellsouth.net wrote: > In message <20141009162906.GA25389@calimero.vinschen.de>you write: > > > >Any other idea what *might* be broken if we remove CWD from the > >DLL search path? > > > > > >Corinna > > >=20 > 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... Assuming I create a Cygwin snapshot adding a call to SetDllDirectory in the next couple of days, would you be willing to test if your Tcl stuff still works? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3yNHWXBV/QO9xKNm Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUN7ZGAAoJEPU2Bp2uRE+g4b8P/3MlaNQgWkRn8mvwaSapw3ch SDW4a4ulLv3uGGerehDw4/DhyRWxwcXtCYxF8+gaw0rswIMEZYgU41NSsBvVV78Q WNKQk1ZWIdJxd0+wyltjgCu3mlJqKUmsx6dHAiXra0JO8tPBHQFgPNt5OMSt5WqB Dr3L/QjIHiBZY5qBdsypEIdPAR7DXESFyvEAZQ0zPvWLIC2lThSKH51nf879mWDi dAXYEjhzduUIc/nlSlefd5KCDRwxnO6c5hYMopoTJUpX6fhtMtQ99/DLU2366UmL Oh8VAMqpa44wWVy47jZzNmscnpsnU84mAevkG+avqx38s0OX7nVxjHR/htmrqpow mDKdFPqwclai2GLWff8JzqfYLWamwoLT5Np8e2ky/NwtqeBEnUeEGq1URqdtMSwt 15VOi3pfCY8sY1IUHbqXb2QKWXONfcFIMGZmVG5VagpBdouT8hXfyzuI+HMXVRkt 9Tt3uOqYJszx4T/tDIZx0bkW4rSStPvpiPZKUWAy0iV4CAH6dH6DuVnQZlLgu333 UsVD1AEomOcCvnbbGlYRnuREtOMkK+tKEgf2ZC82TusARWT0zx/VFqm7N76V/B+s 9TdT7EioL5QSDya6/EEgcHE4BLqdUU9cI7/+3JTWDg4D5PFYu200iUL8xCDOl5Pu Q2qzjj/um6EJSax4F4eT =vgzt -----END PGP SIGNATURE----- --3yNHWXBV/QO9xKNm--