Fixed plugins symbol problem (removed global flag when loading library)

This commit is contained in:
Sebastien Helleu 2006-05-31 20:44:04 +00:00
parent 1ac38c3458
commit 16c7e4b61c
4 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-05-30
ChangeLog - 2006-05-31
Version 0.2.0 (under dev!):
* fixed plugins symbol problem (removed global flag when loading library)
* command /save now writes plugins options (~/.weechat/plugins.rc)
* fixed crash with "register" function in plugin scripts (bug #16701)
* fixed random crash at exit (/quit or /upgrade) with splited windows

View File

@ -752,7 +752,7 @@ plugin_load (char *filename)
if (!full_name)
return NULL;
handle = dlopen (full_name, RTLD_GLOBAL | RTLD_NOW);
handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW);
if (!handle)
{
irc_display_prefix (NULL, NULL, PREFIX_ERROR);

View File

@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-05-30
ChangeLog - 2006-05-31
Version 0.2.0 (under dev!):
* fixed plugins symbol problem (removed global flag when loading library)
* command /save now writes plugins options (~/.weechat/plugins.rc)
* fixed crash with "register" function in plugin scripts (bug #16701)
* fixed random crash at exit (/quit or /upgrade) with splited windows

View File

@ -752,7 +752,7 @@ plugin_load (char *filename)
if (!full_name)
return NULL;
handle = dlopen (full_name, RTLD_GLOBAL | RTLD_NOW);
handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW);
if (!handle)
{
irc_display_prefix (NULL, NULL, PREFIX_ERROR);