Revert back for plugin loaded, use of GLOBAL instead of LOCAL (problems with Perl DynaLoader)
This commit is contained in:
parent
7509710c33
commit
4af2f3a02d
@ -1,10 +1,9 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2006-05-31
|
||||
ChangeLog - 2006-05-01
|
||||
|
||||
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
|
||||
|
@ -752,7 +752,7 @@ plugin_load (char *filename)
|
||||
if (!full_name)
|
||||
return NULL;
|
||||
|
||||
handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW);
|
||||
handle = dlopen (full_name, RTLD_GLOBAL | RTLD_NOW);
|
||||
if (!handle)
|
||||
{
|
||||
irc_display_prefix (NULL, NULL, PREFIX_ERROR);
|
||||
|
@ -1,10 +1,9 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2006-05-31
|
||||
ChangeLog - 2006-05-01
|
||||
|
||||
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
|
||||
|
@ -752,7 +752,7 @@ plugin_load (char *filename)
|
||||
if (!full_name)
|
||||
return NULL;
|
||||
|
||||
handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW);
|
||||
handle = dlopen (full_name, RTLD_GLOBAL | RTLD_NOW);
|
||||
if (!handle)
|
||||
{
|
||||
irc_display_prefix (NULL, NULL, PREFIX_ERROR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user