Gitweb:
https://git.exim.org/exim.git/commitdiff/3ea7e2803969e2d18bcfcec1ad048f8028444533
Commit: 3ea7e2803969e2d18bcfcec1ad048f8028444533
Parent: d12746bc15d83ab821be36975da0179672708bc1
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Nov 15 17:21:45 2018 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Thu Nov 15 17:21:45 2018 +0000
OpenBSD: bump dns-result buffer to 64kB
This just to take out a difference in testsuite behaviour. Builds
for memory-constrained devices could legitimately use 16kB.
---
src/OS/os.h-OpenBSD | 5 +++--
src/src/globals.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index b09bd84..dde779f 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -53,7 +53,8 @@ typedef struct __res_state *res_state;
#endif
#define TIME_T_FMT "%lld"
-/* seems arpa/nameser.h does not define this */
-#define NS_MAXMSG 16380
+/* seems arpa/nameser.h does not define this.
+Space-constrained devices could use much smaller; a few k. */
+#define NS_MAXMSG 65535
/* End */
diff --git a/src/src/globals.c b/src/src/globals.c
index 731d25c..b3362a3 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1220,7 +1220,7 @@ pid_t queue_run_pid = (pid_t)0;
int queue_run_pipe = -1;
uschar *queue_smtp_domains = NULL;
-unsigned int random_seed = 0;
+uint32_t random_seed = 0;
tree_node *ratelimiters_cmd = NULL;
tree_node *ratelimiters_conn = NULL;
tree_node *ratelimiters_mail = NULL;