[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2787 - in glibc-package/trunk/debian: . patches patches/hurd-i386



Author: sthibaul-guest
Date: 2008-01-20 21:19:36 +0000 (Sun, 20 Jan 2008)
New Revision: 2787

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
glibc (2.7-7) unstable; urgency=low

  [ Samuel Thibault ]
  * patches/hurd-i386/submitted-epfnosupport.diff new patch to fix socket()
    error for IPV6.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2008-01-19 12:24:08 UTC (rev 2786)
+++ glibc-package/trunk/debian/changelog	2008-01-20 21:19:36 UTC (rev 2787)
@@ -4,6 +4,10 @@
   * patches/sh4/cvs-nptl-private-futexes.diff: new patch from CVS to fix
     FTBFS on sh4.
 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/submitted-epfnosupport.diff new patch to fix socket()
+    error for IPV6.
+
  -- Aurelien Jarno <aurel32@debian.org>  Sat, 19 Jan 2008 12:01:23 +0100
 
 glibc (2.7-6) unstable; urgency=low

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff	2008-01-20 21:19:36 UTC (rev 2787)
@@ -0,0 +1,38 @@
+2008-01-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* hurd/hurdsock.c (_hurd_socket_server): Return the standard
+	error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT.
+	* sunrpc/bindrsvprt.c (bindresvport): Likewise.
+
+Index: ./hurd/hurdsock.c
+===================================================================
+RCS file: /cvs/glibc/libc/hurd/hurdsock.c,v
+retrieving revision 1.28
+diff -u -p -r1.28 hurdsock.c
+--- ./hurd/hurdsock.c	6 Jul 2001 04:54:47 -0000	1.28
++++ ./hurd/hurdsock.c	20 Jan 2008 16:09:38 -0000
+@@ -92,7 +92,7 @@ _hurd_socket_server (int domain, int dea
+ 
+   if (server == MACH_PORT_NULL && errno == ENOENT)
+     /* If the server node is absent, we don't support that protocol.  */
+-    errno = EPFNOSUPPORT;
++    errno = EAFNOSUPPORT;
+ 
+   __mutex_unlock (&lock);
+   HURD_CRITICAL_END;
+Index: ./sunrpc/bindrsvprt.c
+===================================================================
+RCS file: /cvs/glibc/libc/sunrpc/bindrsvprt.c,v
+retrieving revision 1.12
+diff -u -p -r1.12 bindrsvprt.c
+--- ./sunrpc/bindrsvprt.c	22 Nov 2005 04:39:05 -0000	1.12
++++ ./sunrpc/bindrsvprt.c	20 Jan 2008 16:09:38 -0000
+@@ -61,7 +61,7 @@ bindresvport (int sd, struct sockaddr_in
+     }
+   else if (sin->sin_family != AF_INET)
+     {
+-      __set_errno (EPFNOSUPPORT);
++      __set_errno (EAFNOSUPPORT);
+       return -1;
+     }
+ 

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2008-01-19 12:24:08 UTC (rev 2786)
+++ glibc-package/trunk/debian/patches/series	2008-01-20 21:19:36 UTC (rev 2787)
@@ -89,6 +89,7 @@
 hurd-i386/submitted-IPV6_PKTINFO.diff 
 hurd-i386/cvs-O_CLOEXEC_fix.diff
 hurd-i386/submitted-extern_inline.diff -p0
+hurd-i386/submitted-epfnosupport.diff -p0
 
 i386/local-biarch.diff 
 i386/local-clone.diff -p0


Reply to: