Petter Reinholdtsen <[EMAIL PROTECTED]> writes:

> While building coreutils v6.1 on Tru64 Unix, I found a minor typo
> breaking the build.  Here is a patch to fix it.

Thanks; I installed that patch into gnulib.

> diff -ur src-6.1/lib/getaddrinfo.c src-6.1-local/lib/getaddrinfo.c
> --- src-6.1/lib/getaddrinfo.c   2006-08-10 09:17:38.000000000 +0200
> +++ src-6.1-local/lib/getaddrinfo.c     2006-09-18 18:06:21.000000000 +0200
> @@ -158,7 +158,7 @@
>         return EAI_NONAME;
>
>  #ifdef HAVE_IPV6
> -      nodename = (hint->ai_family == AF_INET6) ? "::" : "0.0.0.0";
> +      nodename = (hints->ai_family == AF_INET6) ? "::" : "0.0.0.0";
>  #else
>        nodename = "0.0.0.0";
>  #endif
>
> There is still a build problem on Tru64 because getnameinfo() is
> declared differently than in /usr/include/netdb.h.  Will look at that
> next.


Reply via email to