summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-11-25 15:21:56 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-11-25 15:31:04 +0000
commitb3317cfaabe29c73478125e14f58236b2229da4b (patch)
treeae6b46535729685d9ba9b084af0fab56f4b48ae4
parent0a54bc3532296b5b7f1b5d4b3e0e052323591f8e (diff)
Local_scan: bump the ABI major version numberexim-4.93-RC5
Broken-by: 925ac8e4f1
-rw-r--r--doc/doc-docbook/spec.xfpt6
-rw-r--r--doc/doc-txt/ChangeLog6
-rw-r--r--src/src/local_scan.h2
3 files changed, 10 insertions, 4 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 452d76434..483aa9656 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -34359,9 +34359,9 @@ The second argument is used to request that the data be buffered
This is advisory only, but likely to save on system-calls and packets
sent when a sequence of calls to the function are made.
-The argument was added in Exim version 4.90 - changing the API.
-Nobody noticed until 4.93 was imminent.
-A decision on the way forward has not yet been made.
+The argument was added in Exim version 4.90 - changing the API/ABI.
+Nobody noticed until 4.93 was imminent, at which point the
+ABI version number was incremented.
.wen
Strings that are written by &'smtp_printf()'& from within &[local_scan()]&
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index faf6914ca..64198944a 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -206,6 +206,12 @@ JH/44 With OpenSSL 1.1.1 (onwards) disable renegotiation for TLS1.2 and below;
JH/45 local_scan API: documented the current smtp_printf() call. This changed
for version 4.90 - adding a "more data" boolean to the arguments.
+ Bumped the ABI version number also, this having been missed previously;
+ release versions 4.90 to 4.92.3 inclusive were effectively broken in
+ respect of usage of smtp_printf() by either local_scan code or libraries
+ accessed via the ${dlfunc } expansion item. Both will need coding
+ adjustment for any calls to smtp_printf() to match the new function
+ signature; a FALSE value for the new argument is always safe.
Exim version 4.92
diff --git a/src/src/local_scan.h b/src/src/local_scan.h
index 41a17a35c..e0a97088f 100644
--- a/src/src/local_scan.h
+++ b/src/src/local_scan.h
@@ -98,7 +98,7 @@ ABI is changed in a non backward compatible way. The minor number is increased
each time a new feature is added (in a way that doesn't break backward
compatibility). */
-#define LOCAL_SCAN_ABI_VERSION_MAJOR 2
+#define LOCAL_SCAN_ABI_VERSION_MAJOR 3
#define LOCAL_SCAN_ABI_VERSION_MINOR 1
#define LOCAL_SCAN_ABI_VERSION \
LOCAL_SCAN_ABI_VERSION_MAJOR.LOCAL_SCAN_ABI_VERSION_MINOR