Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
cd2c647d
Commit
cd2c647d
authored
Aug 10, 2010
by
Natanael Copa
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/dovecot: dont crash when we rotate logs
ref
#398
parent
3c24c458
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
main/dovecot/2281223b9cb9.patch
main/dovecot/2281223b9cb9.patch
+21
-0
main/dovecot/APKBUILD
main/dovecot/APKBUILD
+9
-2
No files found.
main/dovecot/2281223b9cb9.patch
0 → 100644
View file @
cd2c647d
# 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);
main/dovecot/APKBUILD
View file @
cd2c647d
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
dovecot
pkgver
=
1.2.13
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"IMAP and POP3 server"
url
=
"http://www.dovecot.org/"
license
=
"LGPL-2.1"
...
...
@@ -18,8 +18,14 @@ subpackages="$pkgname-doc $pkgname-dev $pkgname-pgsql $pkgname-mysql
source
=
"http://www.dovecot.org/releases/1.2/
$pkgname
-
$pkgver
.tar.gz
dovecot.logrotate
dovecot.initd
2281223b9cb9.patch
"
prepare
()
{
cd
"
$srcdir
"
/
$pkgname
-
$pkgver
patch
-p1
-i
"
$srcdir
"
/2281223b9cb9.patch
||
return
1
}
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -92,4 +98,5 @@ sqlite() {
md5sums
=
"aaee3b5fd59e01780305553248f686bc dovecot-1.2.13.tar.gz
aec5cc797ab2acf72ce3b6bb1030345f dovecot.logrotate
c58b474dca20e6e60fa4f1f5b9c726e1 dovecot.initd"
c58b474dca20e6e60fa4f1f5b9c726e1 dovecot.initd
c8581417ce7946668839a9d0fcd93ee8 2281223b9cb9.patch"
Natanael Copa
@ncopa
mentioned in commit
5fc09c01
·
Jul 12, 2019
mentioned in commit
5fc09c01
mentioned in commit 5fc09c01d96c6cbe2200a3c313148522b330428d
Toggle commit list
Duane Hughes
@dhughes
mentioned in issue
#398 (closed)
·
Jul 12, 2019
mentioned in issue
#398 (closed)
mentioned in issue #398
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment