From 273cec2b87d9685d05f59c48965d65783915e7ab Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 3 Apr 2011 12:34:43 +0000 Subject: [PATCH] Revert r24815 and the RTLD_NODELETE part of r24744, which was committed by accident. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24827 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/support/plugins.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c index 96b9d948d..f457f3542 100644 --- a/src/util/support/plugins.c +++ b/src/util/support/plugins.c @@ -258,17 +258,9 @@ krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct #endif /* USE_CFBUNDLE */ #ifdef RTLD_GROUP -# ifdef RTLD_NODELETE -# define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL | RTLD_GROUP | RTLD_NODELETE) -# else -# define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL | RTLD_GROUP) -# endif +#define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL | RTLD_GROUP) #else -# ifdef RTLD_NODELETE -# define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE) -# else -# define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL) -# endif +#define PLUGIN_DLOPEN_FLAGS (RTLD_NOW | RTLD_LOCAL) #endif if (!err) { handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS); -- 2.26.2