public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "James Johnston" <JamesJ@motionview3d.com>
To: <cygwin@cygwin.com>
Subject: RE: /etc/profile
Date: Tue, 21 Aug 2012 16:11:00 -0000	[thread overview]
Message-ID: <017501cd7fae$044a07d0$0cde1770$@motionview3d.com> (raw)
In-Reply-To: <loom.20120821T153030-47@post.gmane.org>

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

  reply	other threads:[~2012-08-21 15:03 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 15:03 /etc/profile Achim Gratz
2012-08-21 15:35 ` /etc/profile Eric Blake
2012-08-21 15:57   ` /etc/profile Achim Gratz
2012-08-21 16:11     ` James Johnston [this message]
2012-08-21 16:50     ` /etc/profile Eric Blake
2012-08-21 17:21       ` /etc/profile Achim Gratz
2012-08-21 19:27         ` /etc/profile Eric Blake
2012-08-21 20:48           ` /etc/profile Achim Gratz
2012-08-21 17:24     ` /etc/profile Earnie Boyd
2012-08-22 19:42 ` /etc/profile David Sastre Medina
2012-08-22 20:10   ` /etc/profile Achim Gratz
2012-08-22 20:15     ` /etc/profile David Sastre Medina
2012-08-22 20:50       ` /etc/profile Achim Gratz
2012-08-25 15:45       ` /etc/profile Achim Gratz
2012-08-25 21:26         ` /etc/profile Achim Gratz
2012-08-22 20:36   ` /etc/profile Daniel Colascione
2012-08-22 20:51     ` /etc/profile Achim Gratz
2012-08-22 20:55       ` /etc/profile Christopher Faylor
2012-08-22 21:18         ` /etc/profile Achim Gratz
2012-08-23  6:35           ` /etc/profile Andrew DeFaria
2012-08-22 20:55       ` /etc/profile Andrey Repin
2012-08-22 22:52         ` /etc/profile Achim Gratz
2012-08-22 22:08     ` /etc/profile David Sastre Medina
2012-08-23  5:54       ` /etc/profile Christopher Faylor
2012-08-23  6:19         ` /etc/profile David Sastre Medina
2012-08-23 10:03         ` /etc/profile Achim Gratz
2012-08-23 10:29           ` /etc/profile L Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='017501cd7fae$044a07d0$0cde1770$@motionview3d.com' \
    --to=jamesj@motionview3d.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).