changeset 10950:4b0f64ab869c

[gaim-migrate @ 12750] sf patch #1211747, from Richard Laager Update the comment about G_MODULE_BIND_LOCAL committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 31 May 2005 23:34:31 +0000
parents 1adca5a37fb8
children 84d8279259c9
files src/plugin.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Tue May 31 23:04:33 2005 +0000
+++ b/src/plugin.c	Tue May 31 23:34:31 2005 +0000
@@ -210,11 +210,8 @@
 	if (plugin->native_plugin) {
 		const char *error;
 		/*
-		 * TODO: Should pass the G_MODULE_BIND_LOCAL parameter to
-		 *       g_module_open().  It enforces plugin separation so that
-		 *       symbols from plugins are not added to the global name
-		 *       space.  However, it caused problems with using a
-		 *       perl script for me.  If it works for you then go for it.
+		 * We pass G_MODULE_BIND_LOCAL here to prevent symbols from
+		 * plugins being added to the global name space.
 		 */
 		plugin->handle = g_module_open(filename, G_MODULE_BIND_LOCAL);