On Sep 7, 2006, at 12:37 AM, Bob Friesenhahn wrote:
On Thu, 7 Sep 2006, Peter O'Gorman wrote:
On Sep 7, 2006, at 12:10 AM, Ralf Wildenhues wrote:
We could add another interface
lt_dlopen_flags (const char *filename, int flags);
I'd prefer to be more specific - lt_dlopen_global(const char *
filename)
The docs would specify that it would attempt to open it in the
global namespace, but may, in fact, open it locally if there is no
API to open globally.
This is a good idea but I think that it should refuse to load the
library/module and return an error instead since if the application
requires use of this API, it is likely broken. It is better to
know about breakage sooner than later.
Indeed, you're right, the developer can try lt_dlopen_global, and
fall back on lt_dlopen if the former is simply a preference.
Peter
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool