[PD] flext externals

mik mprims at skynet.be
Sat Mar 29 13:41:41 CET 2003


a certain Thomas Grill <t.grill at gmx.net> wrote:
>
> Hi Mik, hi all,
> 
> i found the bug. It's a name clash in PDs shared library name space.
> That's a generally rather dangerous issue maybe also for other externals.
> 
> there are two libraries e.g. xsample and vasp
> 
> The setup functions both call a non-static extern function "lib_setup" 
> which is defined in each of the libraries
> 
> xsample loading: xsample_setup -> lib_setup
> vasp loading: vasp_setup -> lib_setup
> 
> Note that in the second case, the lib_setup function of xsample is 
> called....
> 

So it's really a bug. I thought it maight have been some local problem. Are you able to fix it?

Thanks for the quick reply.

mik




More information about the Pd-list mailing list