From 2c53d5b46f7192281a1a4e98ce50c9ea67186be0 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 1 Oct 2012 07:30:06 +0000 Subject: [PATCH] ensure e modules end in .so before trying to open them SVN revision: 77242 --- src/bin/e_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_module.c b/src/bin/e_module.c index 760ccb3..d790b0e 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -126,7 +126,7 @@ e_module_new(const char *name) snprintf(buf, sizeof(buf), "%s/%s/module.so", name, MODULE_ARCH); modpath = e_path_find(path_modules, buf); } - else + else if (eina_str_has_extension(name, ".so")) modpath = eina_stringshare_add(name); if (!modpath) { -- 2.7.4