From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15262 invoked by alias); 21 Aug 2012 15:03:00 -0000 Received: (qmail 15249 invoked by uid 22791); 21 Aug 2012 15:02:58 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_SORBS_WEB,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mout.perfora.net (HELO mout.perfora.net) (74.208.4.194) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Aug 2012 15:02:46 +0000 Received: from JamesJPC (75-146-80-177-Chattanooga.hfc.comcastbusiness.net [75.146.80.177]) by mrelay.perfora.net (node=mrus3) with ESMTP (Nemesis) id 0LqQjB-1TYEuQ2hCD-00e3yT; Tue, 21 Aug 2012 11:02:44 -0400 From: "James Johnston" To: References: <50337A02.8070809@redhat.com> In-Reply-To: Subject: RE: /etc/profile Date: Tue, 21 Aug 2012 16:11:00 -0000 Message-ID: <017501cd7fae$044a07d0$0cde1770$@motionview3d.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-08/txt/msg00494.txt.bz2 > -----Original Message----- > Sent: Tuesday, August 21, 2012 14:39 > Subject: Re: /etc/profile > > > Eric Blake 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. > Read section "Search order for desktop applications" at "Dynamic-Link Library Search Order" at http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).as px Bottom line, you don't need system32 in the path for DLL loading to work. I seem to recall that some earlier versions of Windows actually did not include system32 in the PATH by default. -- 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