diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-05-31 20:44:04 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-05-31 20:44:04 +0000 |
commit | 16c7e4b61c16c18027f2268fb448a9af66b92b39 (patch) | |
tree | abb2d8e80bf9b45528a707ee1ed0428fabeea5a3 | |
parent | 1ac38c3458e0bbf23d1e93b72cd100a93d1cacc0 (diff) | |
download | weechat-16c7e4b61c16c18027f2268fb448a9af66b92b39.zip |
Fixed plugins symbol problem (removed global flag when loading library)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/plugins/plugins.c | 2 | ||||
-rw-r--r-- | weechat/ChangeLog | 3 | ||||
-rw-r--r-- | weechat/src/plugins/plugins.c | 2 |
4 files changed, 6 insertions, 4 deletions
@@ -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 diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c index 9242cffb3..d9cc4a9d2 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_GLOBAL | RTLD_NOW); + handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW); if (!handle) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 2d38eeb39..4b3aee564 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -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 diff --git a/weechat/src/plugins/plugins.c b/weechat/src/plugins/plugins.c index 9242cffb3..d9cc4a9d2 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_GLOBAL | RTLD_NOW); + handle = dlopen (full_name, RTLD_LOCAL | RTLD_NOW); if (!handle) { irc_display_prefix (NULL, NULL, PREFIX_ERROR); |