From 4746347fe72134e28f96a1725e59d0249c37181a Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 20 May 2015 15:23:41 +0100 Subject: [PATCH] Revert "Stopped Unix plugin loader from throwing #4661" This reverts commit 1fd58836203a37eea81a31ae2d5c4cf64161db88. --- plugin-unix.diff | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 plugin-unix.diff diff --git a/plugin-unix.diff b/plugin-unix.diff deleted file mode 100644 index e6e39633..00000000 --- a/plugin-unix.diff +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/lib/arch/unix/ArchPluginUnix.cpp b/src/lib/arch/unix/ArchPluginUnix.cpp -index 997c274..3e390f0 100644 ---- a/src/lib/arch/unix/ArchPluginUnix.cpp -+++ b/src/lib/arch/unix/ArchPluginUnix.cpp -@@ -76,8 +76,8 @@ ArchPluginUnix::load() - void* library = dlopen(path.c_str(), RTLD_LAZY); - - if (library == NULL) { -- LOG((CLOG_ERR "failed to load plugin: %s", (*it).c_str())); -- throw XArch(dlerror()); -+ LOG((CLOG_ERR "failed to load plugin '%s', error: %s", (*it).c_str(), dlerror())); -+ continue; - } - - String filename = synergy::string::removeFileExt(*it);