From: Jeremy Harris Date: Sat, 20 Oct 2018 20:03:22 +0000 (+0100) Subject: tidying X-Git-Tag: exim-4.92-RC1~65 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/0768462dc5830cde5ae7a3659577fb557926db28 tidying --- diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 3a98e0384..414dd9810 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -509,7 +509,7 @@ JH/26 Fix DKIM bug: when the pseudoheader generated for signing was exactly line, the header hash was calculated to an incorrect value thanks to the (relaxed) space the fold became. -HS/02 Fix Bug 2130: large writes from the transport subprocess where chunked +HS/02 Fix Bug 2130: large writes from the transport subprocess were chunked and confused the parent. JH/27 Fix SOCKS bug: an unitialized pointer was deref'd by the transport process diff --git a/src/src/deliver.c b/src/src/deliver.c index 24c4048f6..6c6e6f7d1 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -3315,8 +3315,8 @@ small items (less than PIPE_BUF, which seems to be at least 512 in any Unix and often bigger) so even if we are reading while the subprocess is still going, we should never have only a partial item in the buffer. -hs12: This assumption is not true anymore, since we got quit large items (certificate -information and such) +hs12: This assumption is not true anymore, since we get quite large items (certificate +information and such). Argument: poffset the offset of the parlist item @@ -4685,12 +4685,10 @@ all pipes, so I do not see a reason to use non-blocking IO here search_tidyup(); - if ((pid = fork()) == 0) { int fd = pfd[pipe_write]; host_item *h; - DEBUG(D_deliver) debug_selector |= D_pid; // hs12 /* Setting this global in the subprocess means we need never clear it */ transport_name = tp->name;