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

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



Author: sthibault
Date: 2012-01-22 15:37:47 +0000 (Sun, 22 Jan 2012)
New Revision: 5126

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
New hurd-i386 patch to fix socket error value.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2012-01-21 07:20:07 UTC (rev 5125)
+++ glibc-package/trunk/debian/changelog	2012-01-22 15:37:47 UTC (rev 5126)
@@ -14,7 +14,9 @@
     alternative, thanks to Jonathan Nieder for the idea.  Closes: #654835.
 
   [ Samuel Thibault ]
-  * patches/hurd-i386/submitted-mmap.diff: new patch to fix iceweasel hang.
+  * patches/hurd-i386/submitted-mmap.diff: New patch to fix iceweasel hang.
+  * patches/hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff: New patch to
+    fix error value.
 
  -- Samuel Thibault <sthibault@debian.org>  Tue, 27 Dec 2011 02:02:41 +0100
 

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff	2012-01-22 15:37:47 UTC (rev 5126)
@@ -0,0 +1,16 @@
+2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
+
+	* sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
+	of the non-standard EPFNOSUPPORT.
+
+--- a/sysdeps/mach/hurd/socket.c
++++ b/sysdeps/mach/hurd/socket.c
+@@ -57,7 +57,7 @@ __socket (domain, type, protocol)
+      isn't supported.  */
+   if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED
+       || err == MIG_BAD_ID || err == EOPNOTSUPP)
+-    err = EPFNOSUPPORT;
++    err = EAFNOSUPPORT;
+ 
+   if (err)
+     return __hurd_fail (err);

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2012-01-21 07:20:07 UTC (rev 5125)
+++ glibc-package/trunk/debian/patches/series	2012-01-22 15:37:47 UTC (rev 5126)
@@ -173,6 +173,7 @@
 hurd-i386/submitted-posix2008.diff
 hurd-i386/submitted-mach-nanosleep.diff
 hurd-i386/submitted-mmap.diff
+hurd-i386/submitted-hurd-socket-EAFNOSUPPORT.diff
 
 kfreebsd/submitted-libc_once.diff
 


Reply to: