| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| 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 |
| From: | "James Johnston" <JamesJ AT motionview3d DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <loom DOT 20120821T114938-389 AT post DOT gmane DOT org> <50337A02 DOT 8070809 AT redhat DOT com> <loom DOT 20120821T153030-47 AT post DOT gmane DOT org> |
| In-Reply-To: | <loom.20120821T153030-47@post.gmane.org> |
| Subject: | RE: /etc/profile |
| Date: | Tue, 21 Aug 2012 15:02:40 -0000 |
| Message-ID: | <017501cd7fae$044a07d0$0cde1770$@motionview3d.com> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
> -----Original Message----- > Sent: Tuesday, August 21, 2012 14:39 > Subject: Re: /etc/profile > > > 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. > 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |