[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] minor typo in lib/getaddrinfo.c from coreutils 6.1
From: |
Paul Eggert |
Subject: |
Re: [patch] minor typo in lib/getaddrinfo.c from coreutils 6.1 |
Date: |
Mon, 18 Sep 2006 11:07:55 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Petter Reinholdtsen <address@hidden> 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.