Blame bind98-rh735103.patch
|
Tomas Hozza |
4fa997 |
diff -up bind-9.10.1b1/lib/isc/unix/socket.c.rh735103 bind-9.10.1b1/lib/isc/unix/socket.c
|
|
Tomas Hozza |
4fa997 |
--- bind-9.10.1b1/lib/isc/unix/socket.c.rh735103 2014-06-23 06:47:35.000000000 +0200
|
|
Tomas Hozza |
4fa997 |
+++ bind-9.10.1b1/lib/isc/unix/socket.c 2014-07-29 16:25:27.172818662 +0200
|
|
Tomas Hozza |
4fa997 |
@@ -67,6 +67,20 @@
|
|
Adam Tkac |
771823 |
#include <isc/util.h>
|
|
Adam Tkac |
771823 |
#include <isc/xml.h>
|
|
Adam Tkac |
771823 |
|
|
Adam Tkac |
771823 |
+/* See task.c about the following definition: */
|
|
Adam Tkac |
771823 |
+#ifdef BIND9
|
|
Adam Tkac |
771823 |
+#ifdef ISC_PLATFORM_USETHREADS
|
|
Adam Tkac |
771823 |
+#define USE_WATCHER_THREAD
|
|
Adam Tkac |
771823 |
+#else
|
|
Adam Tkac |
771823 |
+#define USE_SHARED_MANAGER
|
|
Adam Tkac |
771823 |
+#endif /* ISC_PLATFORM_USETHREADS */
|
|
Adam Tkac |
771823 |
+#else /* BIND9 */
|
|
Adam Tkac |
771823 |
+#undef ISC_PLATFORM_HAVESYSUNH
|
|
Adam Tkac |
771823 |
+#undef ISC_PLATFORM_HAVEKQUEUE
|
|
Adam Tkac |
771823 |
+#undef ISC_PLATFORM_HAVEEPOLL
|
|
Adam Tkac |
771823 |
+#undef ISC_PLATFORM_HAVEDEVPOLL
|
|
Adam Tkac |
771823 |
+#endif /* BIND9 */
|
|
Adam Tkac |
771823 |
+
|
|
Adam Tkac |
771823 |
#ifdef ISC_PLATFORM_HAVESYSUNH
|
|
Adam Tkac |
771823 |
#include <sys/un.h>
|
|
Adam Tkac |
771823 |
#endif
|
|
Tomas Hozza |
4fa997 |
@@ -86,13 +100,6 @@
|
|
Adam Tkac |
771823 |
|
|
Adam Tkac |
771823 |
#include "errno2result.h"
|
|
Adam Tkac |
771823 |
|
|
Adam Tkac |
771823 |
-/* See task.c about the following definition: */
|
|
Adam Tkac |
771823 |
-#ifdef ISC_PLATFORM_USETHREADS
|
|
Adam Tkac |
771823 |
-#define USE_WATCHER_THREAD
|
|
Adam Tkac |
771823 |
-#else
|
|
Adam Tkac |
771823 |
-#define USE_SHARED_MANAGER
|
|
Adam Tkac |
771823 |
-#endif /* ISC_PLATFORM_USETHREADS */
|
|
Adam Tkac |
771823 |
-
|
|
Adam Tkac |
771823 |
#ifndef USE_WATCHER_THREAD
|
|
Adam Tkac |
771823 |
#include "socket_p.h"
|
|
Adam Tkac |
771823 |
#include "../task_p.h"
|