summaryrefslogtreecommitdiffstats
path: root/bind-9.5-_res_errno.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-11-15 11:51:33 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-11-15 11:51:33 +0000
commita6e7052c19ade9d366c582141ced5bd1bbc8625a (patch)
tree79baaff2a50780ecd226738efc01283be4b6e837 /bind-9.5-_res_errno.patch
parent4bd127caf562e7434a9b0c86e6d8696306d47036 (diff)
- dropped patches (upstream) - bind-9.5-update.patch - bind-9.5-pool_badfree.patch - bind-9.5-_res_errno.patch
Diffstat (limited to 'bind-9.5-_res_errno.patch')
-rw-r--r--bind-9.5-_res_errno.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/bind-9.5-_res_errno.patch b/bind-9.5-_res_errno.patch
deleted file mode 100644
index a28acdc..0000000
--- a/bind-9.5-_res_errno.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Written-by: Mark Andrews <Mark_Andrews isc org> (upstream)
-Reviewed-by: Adam Tkac <atkac redhat com>
-
-diff -up bind-9.5.0a6/lib/bind/resolv/res_data.c._res_errno bind-9.5.0a6/lib/bind/resolv/res_data.c
---- bind-9.5.0a6/lib/bind/resolv/res_data.c._res_errno 2007-09-06 09:26:29.000000000 +0200
-+++ bind-9.5.0a6/lib/bind/resolv/res_data.c 2007-09-06 09:28:14.000000000 +0200
-@@ -40,7 +40,6 @@ static const char rcsid[] = "$Id: res_da
- #include <unistd.h>
-
- #include "port_after.h"
--#undef _res
-
- const char *_res_opcodes[] = {
- "QUERY",
-@@ -70,6 +69,7 @@ const char *_res_sectioncodes[] = {
- };
- #endif
-
-+#undef _res
- #ifndef __BIND_NOSTATIC
- struct __res_state _res
- # if defined(__BIND_RES_TEXT)
-@@ -77,6 +77,10 @@ struct __res_state _res
- # endif
- ;
-
-+#if defined(DO_PTHREADS) || defined(__linux)
-+#define _res (*__res_state())
-+#endif
-+
- /* Proto. */
-
- int res_ourserver_p(const res_state, const struct sockaddr_in *);