X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20120821T153030-47@post.gmane.org>
References: <loom.20120821T114938-389@post.gmane.org>	<50337A02.8070809@redhat.com>	<loom.20120821T153030-47@post.gmane.org>
Date: Tue, 21 Aug 2012 12:11:01 -0400
Message-ID: <CA+sc5m=DfGhNFix2Ui3VAGauAYwnm6ehPW5_TsjSD_OHDTUOuQ@mail.gmail.com>
Subject: Re: /etc/profile
From: Earnie Boyd <earnie@users.sourceforge.net>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Tue, Aug 21, 2012 at 10:38 AM, Achim Gratz wrote:
>
> Eric Blake <eblake <at> redhat.com> writes:
>> Unfortunately, at least your windows system dll directory has to be on
>> PATH, or cygwin1.dll will fail to load, so blindly removing ALL windows
>> paths from PATH is wrong.
>
> At that point cygwin1.dll is already loaded and so far I haven't seen anything
> not working due to that change.  But yes, I didn't think of that, so I'm curious
> why it seems to work as nicely as it does.

Right, I remove windows PATHS from my PATH after starting with my
.profile and .bash_profile files.  Besides, the Windows library search
order will search for known DLL in known directories automagicly.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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

