ALT Linux repos
S: | 9.16.44-alt1 |
5.0: | 9.3.6-alt5 |
4.1: | 9.3.6-alt4.M41.2 |
+updates: | 9.3.6-alt4.M41.1 |
4.0: | 9.3.6-alt4.M41.1 |
+updates: | 9.3.6-alt4.M41.1 |
3.0: | 9.2.4.rel-alt2 |
Group :: System/Servers
RPM: bind
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: bind-9.3.6-rh-h_errno.patch
Download
Download
--- bind/lib/bind/irs/irs_data.c
+++ bind/lib/bind/irs/irs_data.c
@@ -231,9 +231,7 @@ __h_errno(void) {
void
__h_errno_set(struct __res_state *res, int err) {
-
-
-#if (__GLIBC__ > 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)
+#if 0
res->res_h_errno = err;
#else
h_errno = res->res_h_errno = err;
--- bind/lib/bind/resolv/res_query.c
+++ bind/lib/bind/resolv/res_query.c
@@ -200,6 +200,8 @@ again:
}
return (-1);
}
+ if( n > 0 )
+ RES_SET_H_ERRNO(statp,0);
return (n);
}