From 9723f9667322bf96db786fa49d53139a48fabc5e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 30 Mar 2018 22:54:55 +0100 Subject: Avoid doing logging in signal-handlers. Bug 1007 --- doc/doc-docbook/spec.xfpt | 7 ++++++- doc/doc-txt/ChangeLog | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index e381157bc..e5873f349 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -32736,10 +32736,15 @@ code. The incident is logged on the main and reject logs. .section "Building Exim to use a local scan function" "SECID207" .cindex "&[local_scan()]& function" "building Exim to use" To make use of the local scan function feature, you must tell Exim where your -function is before building Exim, by setting LOCAL_SCAN_SOURCE in your +function is before building Exim, by setting +.new +both HAVE_LOCAL_SCAN and +.wen +LOCAL_SCAN_SOURCE in your &_Local/Makefile_&. A recommended place to put it is in the &_Local_& directory, so you might set .code +HAVE_LOCAL_SCAN=yes LOCAL_SCAN_SOURCE=Local/local_scan.c .endd for example. The function must be called &[local_scan()]&. It is called by diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 94f6fdefc..bceb22cc3 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -8,6 +8,13 @@ options, and new features, see the NewStuff file next to this ChangeLog. Exim version 4.92 ----------------- +JH/01 Remove code calling the customisable local_scan function, unless a new + definition "HAVE_LOCAL_SCAN=yes" is present in the Local/Makefile. + +JH/02 Bug 1007: Avoid doing logging from signal-handlers, as that can result in + non-signal-safe funxtions being used. + + Exim version 4.91 ----------------- -- cgit v1.2.3