X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=els3nlY4nnSXnpOiyJp7xIT+nLcLBldYVu8GidctgKUhX+k9WbJDL
	ylTByNXkwNOcwzI15zLaYiBsoSk1+lE5O7srjgdAJkB9/dVXkz2/WLHAc9ZQLBxH
	aTC8x/r6MQGHR5oDty7r15bj7fyMiTVXyEu059guHbR4nkgwJSVijM=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=uSPs+if+prYErrF3eDH8NzfO8Y8=; b=JcmhHPj4DHdF4yhpgWj6l4nqSS6L
	r1lfMxSgPIjeSMm+jraRjFXrW9pk27tefWgvkGL3SfG3G+4Vt0Sol//PCJ0sHytn
	0GPLgD3Iv6g7hW6C+7Wt91iFBY4nBD2p/V+Nj//H0x070oau8+g1tHnVV7ekA9IS
	aU0iYKkQKE9Lrwk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
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
Date: Fri, 10 Oct 2014 12:34:46 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
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)

--3yNHWXBV/QO9xKNm
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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