[compiz] RTLD_GLOBAL flag for dlopen

2007-04-09 Thread Mike Dransfield
I am just experimenting with a plugin loader and I found that there are problems with external symbols which are loaded at runtime. The solution is to add RTLD_GLOBAL to the dlopen mode, but I am not sure if this would cause other problems. Is this patch OK to go in? diff --git a/src/plugin.c

Re: [compiz] RTLD_GLOBAL flag for dlopen

2007-04-09 Thread David Reveman
On Mon, 2007-04-09 at 17:16 +0100, Mike Dransfield wrote: > I am just experimenting with a plugin loader and I found > that there are problems with external symbols which are > loaded at runtime. > > The solution is to add RTLD_GLOBAL to the dlopen mode, > but I am not sure if this would cause oth

Re: [compiz] RTLD_GLOBAL flag for dlopen

2007-04-09 Thread Mike Dransfield
David Reveman wrote: On Mon, 2007-04-09 at 17:16 +0100, Mike Dransfield wrote: I am just experimenting with a plugin loader and I found that there are problems with external symbols which are loaded at runtime. The solution is to add RTLD_GLOBAL to the dlopen mode, but I am not sure if this

Re: [compiz] RTLD_GLOBAL flag for dlopen

2007-04-09 Thread David Reveman
On Mon, 2007-04-09 at 18:18 +0100, Mike Dransfield wrote: > David Reveman wrote: > > On Mon, 2007-04-09 at 17:16 +0100, Mike Dransfield wrote: > > > >> I am just experimenting with a plugin loader and I found > >> that there are problems with external symbols which are > >> loaded at runtime. >