summaryrefslogtreecommitdiff
path: root/mail/dovecot/files/patch-src_lib_module-dir.c
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-07-24 16:29:10 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-07-24 16:29:10 +0000
commite4656bbaa3cf7cbdf54ee886a2ca42a056bcbffb (patch)
tree18e299873197e4bdd225868b8c9e0db7205f9cd8 /mail/dovecot/files/patch-src_lib_module-dir.c
parentFix build on sparc64 (and any other big-endian arch). (diff)
Update to dovecot-1.0.rc2, see
http://www.dovecot.org/list/dovecot-news/2006-July/000010.html. PR: 100037 Submitted by: maintainer Approved by: arved
Diffstat (limited to 'mail/dovecot/files/patch-src_lib_module-dir.c')
-rw-r--r--mail/dovecot/files/patch-src_lib_module-dir.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/mail/dovecot/files/patch-src_lib_module-dir.c b/mail/dovecot/files/patch-src_lib_module-dir.c
deleted file mode 100644
index 4badfa261402..000000000000
--- a/mail/dovecot/files/patch-src_lib_module-dir.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/lib/module-dir.c.orig 5 May 2006 14:21:22 -0000 1.19
-+++ src/lib/module-dir.c 16 Jun 2006 10:15:56 -0000 1.20
-@@ -24,14 +24,18 @@
- const char *error;
- void *ret;
-
-+ /* clear out old errors */
-+ (void)dlerror();
-+
- /* get our init func */
- ret = dlsym(module->handle, symbol);
--
-- error = dlerror();
-- if (error != NULL) {
-- i_error("module %s: dlsym(%s) failed: %s",
-- module->path, symbol, error);
-- ret = NULL;
-+ if (ret == NULL) {
-+ error = dlerror();
-+ if (error != NULL) {
-+ i_error("module %s: dlsym(%s) failed: %s",
-+ module->path, symbol, error);
-+ ret = NULL;
-+ }
- }
-
- return ret;