This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: MSYS mode (continue)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 26 Jul 2013 12:37:08 -0400
- Subject: Re: MSYS mode (continue)
- References: <20130705090704 dot GB4009 at calimero dot vinschen dot de> <20130705164230 dot GA7282 at ednor dot casa dot cgf dot cx> <20130711111744 dot GG15346 at calimero dot vinschen dot de> <51F123EB dot 9000900 at cwilson dot fastmail dot fm> <20130725150209 dot GA15619 at calimero dot vinschen dot de> <51F16C82 dot 7030509 at cwilson dot fastmail dot fm> <20130725205320 dot GA2725 at ednor dot casa dot cgf dot cx> <20130726081510 dot GN5086 at calimero dot vinschen dot de> <20130726151432 dot GA4495 at ednor dot casa dot cgf dot cx> <20130726161205 dot GR5086 at calimero dot vinschen dot de>
- Reply-to: cygwin-developers at cygwin dot com
On Fri, Jul 26, 2013 at 06:12:05PM +0200, Corinna Vinschen wrote:
>I don't know if that's a problem for them, but this reminds me... maybe
>we can use the LD_PRELOAD mechanism in hookapi.cc for that?
I was thinking that we'd use something like that (re my use of PRELOAD
and your use of CW_HOOK) but, you're right. Someone could potentially
implement MSYS.dll via LD_PRELOAD:
LD_PRELOAD=msys.dll
and then have msys.dll hook the functions that it is interested in using
via CW_HOOK.
cgf