Hello,
Here is a fix for GNU/Hurd builds. GNU/Hurd does not have limitations
such as PATH_MAX/IOV_MAX. bind9 already uses its own default limitations
in a few other files, here is an update.
Samuel
Index: bind9-9.11.5.P4+dfsg/lib/dns/view.c
===================================================================
--- bind9-9.11.5.P4+dfsg.orig/lib/dns/view.c
+++ bind9-9.11.5.P4+dfsg/lib/dns/view.c
@@ -75,6 +75,10 @@
#define DNS_VIEW_DELONLYHASH 111
#define DNS_VIEW_FAILCACHESIZE 1021
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
static void resolver_shutdown(isc_task_t *task, isc_event_t *event);
static void adb_shutdown(isc_task_t *task, isc_event_t *event);
static void req_shutdown(isc_task_t *task, isc_event_t *event);
Index: bind9-9.11.5.P4+dfsg/lib/bind9/check.c
===================================================================
--- bind9-9.11.5.P4+dfsg.orig/lib/bind9/check.c
+++ bind9-9.11.5.P4+dfsg/lib/bind9/check.c
@@ -57,6 +57,10 @@
#include <bind9/check.h>
+#ifndef IOV_MAX
+#define IOV_MAX 1024
+#endif
+
static unsigned char dlviscorg_ndata[] = "\003dlv\003isc\003org";
static unsigned char dlviscorg_offsets[] = { 0, 4, 8, 12 };
static dns_name_t const dlviscorg =
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users