aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/2281223b9cb9.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-10 15:14:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-10 15:14:08 +0000
commitcd2c647df8aa8d12a6ee329efb4459b67567e9bf (patch)
tree81f4e3bf93dee0da1528ddcd54d0fddddb20babe /main/dovecot/2281223b9cb9.patch
parent3c24c45872fd745d8f55015940472e4f583ef764 (diff)
downloadaports-5a1f8e9a028d710c358d3f85caf2ae9b744c8847.tar.gz
aports-5a1f8e9a028d710c358d3f85caf2ae9b744c8847.tar.bz2
aports-5a1f8e9a028d710c358d3f85caf2ae9b744c8847.tar.xz
main/dovecot: dont crash when we rotate logsv2.0.0_rc3
ref #398
Diffstat (limited to 'main/dovecot/2281223b9cb9.patch')
-rw-r--r--main/dovecot/2281223b9cb9.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/dovecot/2281223b9cb9.patch b/main/dovecot/2281223b9cb9.patch
new file mode 100644
index 0000000000..4eb9c01f85
--- /dev/null
+++ b/main/dovecot/2281223b9cb9.patch
@@ -0,0 +1,21 @@
+
+# HG changeset patch
+# User Timo Sirainen <tss@iki.fi>
+# Date 1281449944 -3600
+# Node ID 2281223b9cb99357a89971b64680530813d22a81
+# Parent 367ce71922bfc95ec1faad91cd47f1c758cd2d50
+master: Don't crash on config reload when using dict processes.
+
+--- a/src/master/dict-process.c Wed Aug 04 16:54:17 2010 +0100
++++ b/src/master/dict-process.c Tue Aug 10 15:19:04 2010 +0100
+@@ -214,7 +214,8 @@
+ struct dict_listener *listener = process->listener;
+
+ dict_process_deinit(process);
+- if (listener->processes == NULL && listener->fd != -1) {
++ if (listener->processes == NULL && listener->fd != -1 &&
++ listener->io == NULL) {
+ /* last listener died, create new ones */
+ listener->io = io_add(listener->fd, IO_READ,
+ dict_listener_input, listener);
+