delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/01/05:44:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 1 Sep 2004 11:44:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: RTLD_DEFAULT & RTLD_NEXT
Message-ID: <20040901094429.GY17670@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <u65704sup DOT fsf AT gnu DOT org> <20040830143832 DOT GE17670 AT cygbert DOT vinschen DOT de> <uisb018x4 DOT fsf AT gnu DOT org> <20040831083258 DOT GA7517 AT cygbert DOT vinschen DOT de> <u1xhn1gaz DOT fsf AT gnu DOT org> <20040831190826 DOT GV17670 AT cygbert DOT vinschen DOT de> <uoekrxfqx DOT fsf AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <uoekrxfqx.fsf@gnu.org>
User-Agent: Mutt/1.4.2i

On Aug 31 15:35, Sam Steingold wrote:
> > * Corinna Vinschen <pbevaan-pltjva AT pltjva DOT 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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019