From: Jeremy Harris Date: Thu, 15 Nov 2018 17:21:45 +0000 (+0000) Subject: OpenBSD: bump dns-result buffer to 64kB X-Git-Tag: exim-4.92-RC1~30 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3ea7e2803969e2d18bcfcec1ad048f8028444533;p=exim.git 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. --- diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD index b09bd84be..dde779f00 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 731d25c0a..b3362a34c 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;