Author: aurel32
Date: 2008-08-09 20:31:33 +0000 (Sat, 09 Aug 2008)
New Revision: 3066

Added:
   glibc-package/trunk/debian/patches/any/local-ip6-localhost.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * any/local-ip6-localhost.diff: new patch from upstream BTS, to remove the
    ::1 -> 127.0.0.1 mapping.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2008-08-09 20:03:46 UTC (rev 
3065)
+++ glibc-package/trunk/debian/changelog        2008-08-09 20:31:33 UTC (rev 
3066)
@@ -10,6 +10,8 @@
     getcontext(), setcontext(), makecontext() on Sparc.  Closes: #295173.
   * patches/hppa/cvs-context.diff: new patch from upstream to add
     getcontext(), setcontext(), makecontext() on PARISC.  Closes: #492778.
+  * any/local-ip6-localhost.diff: new patch from upstream BTS, to remove the
+    ::1 -> 127.0.0.1 mapping.
 
   [ Samuel Thibault ]
   * patches/hurd-i386/cvs-lock-memory-clobber.diff: new patch from upstream

Added: glibc-package/trunk/debian/patches/any/local-ip6-localhost.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/local-ip6-localhost.diff             
                (rev 0)
+++ glibc-package/trunk/debian/patches/any/local-ip6-localhost.diff     
2008-08-09 20:31:33 UTC (rev 3066)
@@ -0,0 +1,14 @@
+--- a/nss/nss_files/files-hosts.c
++++ b/nss/nss_files/files-hosts.c
+@@ -67,11 +67,6 @@
+        {
+          if (IN6_IS_ADDR_V4MAPPED (entdata->host_addr))
+            memcpy (entdata->host_addr, entdata->host_addr + 12, INADDRSZ);
+-         else if (IN6_IS_ADDR_LOOPBACK (entdata->host_addr))
+-           {
+-             in_addr_t localhost = htonl (INADDR_LOOPBACK);
+-             memcpy (entdata->host_addr, &localhost, sizeof (localhost));
+-           }
+          else
+            /* Illegal address: ignore line.  */
+            return 0;

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2008-08-09 20:03:46 UTC (rev 
3065)
+++ glibc-package/trunk/debian/patches/series   2008-08-09 20:31:33 UTC (rev 
3066)
@@ -175,6 +175,7 @@
 any/local-fhs-nscd.diff -p0
 any/local-gcc4-wcstol_l.diff 
 # any/local-ipv6-lookup.diff -p1               # has issues
+any/local-ip6-localhost.diff
 any/local-ld-multiarch.diff -p0
 any/local-ldd.diff -p0
 any/local-ldso-disable-hwcap.diff -p0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to