mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 03:33:12 +02:00
Fixed plugins symbol problem (removed global flag when loading library)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user