bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ltdl bugs


From: Ralf Wildenhues
Subject: Re: ltdl bugs
Date: Sun, 3 Apr 2005 16:17:08 +0200
User-agent: Mutt/1.4.1i

I'm sorry, but it just dawned on me.

* Ralf Wildenhues wrote on Sun, Apr 03, 2005 at 03:54:19PM CEST:
> 
> I tried moving the three LT_DLFREE after the brace, and it /seems/ ok
> then.  Am quite reluctant to put it in yet, because I fear to have
> overlooked something.

Ah, yes, here's the argument:

When we accept your patch, Jeff, we allow to let ltdl's view of loaded
modules get out of sync with what is really loaded.  Now promise me that
we don't currently use any system API which disallows opening of an
already opened module.  Nor that we will ever implement support for such
an API.

The general idea:
  lt_dlopen()
  lt_dlmakeresident()
  lt_dlclose()
  /* later.. */
  lt_dlopen(same_module)

I don't feel competent to judge on this assumption.

Note it might be possible to do what you want inside lt_dlexit(), but
the amount of hair would grow.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]