This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: RTLD_DEFAULT & RTLD_NEXT
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 1 Sep 2004 11:44:29 +0200
- Subject: Re: RTLD_DEFAULT & RTLD_NEXT
- References: <u65704sup.fsf@gnu.org> <20040830143832.GE17670@cygbert.vinschen.de> <uisb018x4.fsf@gnu.org> <20040831083258.GA7517@cygbert.vinschen.de> <u1xhn1gaz.fsf@gnu.org> <20040831190826.GV17670@cygbert.vinschen.de> <uoekrxfqx.fsf@gnu.org>
- Reply-to: cygwin at cygwin dot com
On Aug 31 15:35, Sam Steingold wrote:
> > * Corinna Vinschen <pbevaan-pltjva@pltjva.pbz> [2004-08-31 21:08:26 +0200]:
> > - EnumProcessModules is NT >= 4 only but not loaded dynamically (see
> > autoload.cc) nor tested for non-existance. Generally,
> > EnumProcessModules is called w/o checking the return value.
>
> 1. what is "n" in LoadDLLfunc?
> 2. how do I test for non-existance?
There's a description in the source dir how autoload works, see
how-autoload-works.txt.
> 3. the first call to EnumProcessModules is known to fail. it is there
> for that specific reason - to fail and return "needed".
Sure, but there's an important difference. In the normal case,
EnumProcessModules will return TRUE and sets n to a useful value.
What do you do if EnumProcessModules returns FALSE?
> > I'd like to ask you to read
> > http://cygwin.com/contrib.html and send us a copyright assignment if
> > possible.
>
> ok.
Thanks! It will take some time but perhaps you want to contribute
a lot more code and the assignment has to be send only once ;-)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/