glibc-2.1.97 fixes from USAGI Project
yoshfuji@linux-ipv6.org
yoshfuji@linux-ipv6.org
Thu Nov 9 20:50:00 GMT 2000
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
More information about the Libc-alpha
mailing list