mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
821de7706a
* Kernel headers 2.6.27. However, they don't work yet because they have a Perl dependency, which is annoying during the bootstrap. svn path=/nixpkgs/branches/stdenv-updates/; revision=13605
26 lines
886 B
Diff
26 lines
886 B
Diff
diff -rc glibc-2.9-20081208-orig/sysdeps/posix/getaddrinfo.c glibc-2.9-20081208/sysdeps/posix/getaddrinfo.c
|
|
*** glibc-2.9-20081208-orig/sysdeps/posix/getaddrinfo.c 2008-07-30 21:14:22.000000000 +0200
|
|
--- glibc-2.9-20081208/sysdeps/posix/getaddrinfo.c 2008-12-10 11:39:32.000000000 +0100
|
|
***************
|
|
*** 505,512 ****
|
|
int no_data = 0;
|
|
int no_inet6_data = 0;
|
|
service_user *nip = NULL;
|
|
- enum nss_status inet6_status = NSS_STATUS_UNAVAIL;
|
|
- enum nss_status status = NSS_STATUS_UNAVAIL;
|
|
int no_more;
|
|
int old_res_options;
|
|
|
|
--- 505,510 ----
|
|
***************
|
|
*** 702,707 ****
|
|
--- 700,707 ----
|
|
|
|
while (!no_more)
|
|
{
|
|
+ enum nss_status inet6_status = NSS_STATUS_UNAVAIL;
|
|
+ enum nss_status status = NSS_STATUS_UNAVAIL;
|
|
nss_gethostbyname4_r fct4
|
|
= __nss_lookup_function (nip, "gethostbyname4_r");
|
|
if (fct4 != NULL)
|