p7zip: assorted fixes
[oi-userland.git] / components / network / proftpd / patches / 028.28949923.patch
blobf6589fe24f69a35d9e6576245bcd6eb5d1f1c00f
2 # We want proftpd process to drop a core, when it dies because of SigSegv.
3 # Same patch has been submitted to upstream:
4 # https://github.com/proftpd/proftpd/pull/764
6 diff --git a/src/session.c b/src/session.c
7 --- a/src/session.c
8 +++ b/src/session.c
9 @@ -113,7 +113,7 @@ void pr_session_disconnect(module *m, int reason_code,
12 if (reason_code == PR_SESS_DISCONNECT_SEGFAULT) {
13 - flags |= PR_SESS_END_FL_ERROR;
14 + flags |= PR_SESS_END_FL_NOEXIT;
17 pr_session_end(flags);