This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ANN] text buffers: really alpha release


(nobody) writes:

> Russ McManus <russell.mcmanus@gs.com> writes:
> 
> > I think guile should natively provide access to dlopen with the
> > RTLD_GLOBAL flag (and all the other flags, btw), on systems that
> > provide it.
> 
> Agreed.  What about giving dynamic-link optional arguments, so that
> you can say
> 
>     (dynamic-link "libfoo.so" 'global 'lazy)
> 
> What should be the defaults?  I think RTLD_GLOBAL should be on by
> default because, if I remember right, it's effect is `on' on systems
> that don't have the flag (like FreeBSD).

Well, I don't know the implications for existing code of changing the
default to RTLD_GLOBAL, but for my uses, I think it is more useful
than the current default.

-russ

--
The nice thing about Windows is - It does not just crash, it displays
a dialog box and lets you press 'OK' first.