Branch: Tag:

2002-05-10

2002-05-10 21:53:14 by Per Hedbor <ph@opera.com>

Do not use RTLD_GLOBAL to avoid name-clashes. The rather unfortunate side-effect is that modules can no longer call functions in other modules directly. However, the only module that broke was the GIF module, and I fixed that one.

Rev: src/dynamic_load.c:1.62

17:   # include "language.h"   # include "lex.h"    - RCSID("$Id: dynamic_load.c,v 1.61 2002/04/30 22:55:31 mast Exp $"); + RCSID("$Id: dynamic_load.c,v 1.62 2002/05/10 21:53:14 per Exp $");      #else /* TESTING */   
390:    * detect linking problems at runtime..    */    module=dlopen(module_name, -  RTLD_NOW |RTLD_GLOBAL ); +  RTLD_NOW /*|RTLD_GLOBAL*/ );       if(!module)    {