This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc-2.1.97 fixes from USAGI Project
- To: drepper at redhat dot com
- Subject: Re: glibc-2.1.97 fixes from USAGI Project
- From: Hideaki YOSHIFUJI ($B5HF#1QL@(B
) <yoshfuji at ecei dot tohoku dot ac dot jp>
- Date: Fri, 10 Nov 2000 13:49:48 +0900
- Cc: libc-alpha at sources dot redhat dot com, usagi-core at linux-ipv6 dot org
- References: <20001107125313X.yoshfuji@linux-ipv6.org><m31ywkihpk.fsf@otr.mynet.cygnus.com>
In article <m31ywkihpk.fsf@otr.mynet.cygnus.com> (at 09 Nov 2000 20:17:27 -0800), Ulrich Drepper <drepper@redhat.com> says:
> > Please apply these fixes (mainly related to IPv6) for glibc-2.2.
>
> I've applied for patch now. I've made only cosmetic changes and one
> optimization.
thanks. Please apply this; this fault was introduced in process to
backport our patch to glibc.
(I agree that I had to do more tests...)
Index: getnameinfo.c
===================================================================
RCS file: /cvs/glibc/libc/inet/getnameinfo.c,v
retrieving revision 1.22
diff -u -r1.22 getnameinfo.c
--- getnameinfo.c 2000/11/10 04:14:39 1.22
+++ getnameinfo.c 2000/11/10 04:43:08
@@ -312,7 +312,7 @@
if (IN6_IS_ADDR_LINKLOCAL (&sin6p->sin6_addr)
|| IN6_IS_ADDR_MC_LINKLOCAL (&sin6p->sin6_addr))
{
- if (if_indextoname (scopeid, scopebuf) == NULL)
+ if (if_indextoname (scopeid, scopeptr) == NULL)
++ni_numericscope;
else
scopelen = strlen (scopebuf);
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
PGP5i FP: F731 6599 5EB2 BBA7 1515 1323 1806 A96F 5700 6B25