summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-06-01 14:16:23 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-06-01 14:16:23 +0000
commit4af2f3a02d9fc3ae1305a58001e075b9a01591d9 (patch)
treef5970a6ca30ca3f086580d8b65accc62a1f5f700
parent7509710c33b64e86b8828f167c666faa2f3f4e7f (diff)
downloadweechat-4af2f3a02d9fc3ae1305a58001e075b9a01591d9.zip
Revert back for plugin loaded, use of GLOBAL instead of LOCAL (problems with Perl DynaLoader)
-rw-r--r--ChangeLog3
-rw-r--r--src/plugins/plugins.c2
-rw-r--r--weechat/ChangeLog3
-rw-r--r--weechat/src/plugins/plugins.c2
4 files changed, 4 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b3aee564..24d4bc538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index d9cc4a9d2..9242cffb3 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -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);
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index 4b3aee564..24d4bc538 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -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
diff --git a/weechat/src/plugins/plugins.c b/weechat/src/plugins/plugins.c
index d9cc4a9d2..9242cffb3 100644
--- a/weechat/src/plugins/plugins.c
+++ b/weechat/src/plugins/plugins.c
@@ -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);